[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250915024232.851955-1-o-takashi@sakamocchi.jp>
Date: Mon, 15 Sep 2025 11:42:30 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] firewire: core: use helper macro to calculate jiffies count
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
Powered by blists - more mailing lists