Re: [PATCH 0/2] firewire: core: use helper macro to calculate jiffies count

Takashi Sakamoto <[email protected]> Tue, 16 Sep 2025 08:20:58 +0900
Newsgroups gmane.linux.kernel.firewire.devel,gmane.linux.kernel
Message-ID <[email protected]>
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