[PATCH 0/2] firewire: core: use helper macro to calculate jiffies count
Takashi Sakamoto <[email protected]> Mon, 15 Sep 2025 11:42:30 +0900
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.firewire.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, In this subsystem, all types of timeouts are managed using kernel timer wheel, thus they are based on jiffies grain. Some macros are available to calculate jiffies count, and they have some advantages, For example, no need to access to HZ macro or jiffies itself directly. This patchset replaces several lines with these macros. Takashi Sakamoto (2): firewire: core: use helper macros instead of direct access to HZ firewire: core: use helper macro to compare against current jiffies drivers/firewire/core-card.c | 17 +++++++---------- drivers/firewire/core-cdev.c | 4 ++-- drivers/firewire/core-device.c | 9 ++++----- drivers/firewire/core-transaction.c | 4 ++-- drivers/firewire/core.h | 2 ++ 5 files changed, 17 insertions(+), 19 deletions(-) base-commit: 2ba08d1bad79cc8d9c82f529adc01f27118e0ca7 -- 2.48.1