[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250915232058.GA908915@workstation.local>
Date: Tue, 16 Sep 2025 08:20:58 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: linux1394-devel@...ts.sourceforge.net
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] firewire: core: use helper macro to calculate
jiffies count
On Mon, Sep 15, 2025 at 11:42:30AM +0900, Takashi Sakamoto wrote:
> 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(-)
Applied to for-next branch.
Regards
Takashi Sakamoto
Powered by blists - more mailing lists