]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: qla2xxx: Use secs_to_jiffies() instead of msecs_to_jiffies()
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 28 Aug 2025 16:11:53 +0000 (18:11 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 31 Aug 2025 01:48:29 +0000 (21:48 -0400)
commite02436d37a47346fdeebe0f65e5d19c0b9f87eec
treeeb61aa8d240882c9efc68673f901691ce082e715
parent80093afdcc484ed7f96d743283932fb40739fe11
scsi: qla2xxx: Use secs_to_jiffies() instead of msecs_to_jiffies()

Use secs_to_jiffies() instead of msecs_to_jiffies() and avoid scaling
'ratov_j' to milliseconds.

No functional changes intended.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20250828161153.3676-2-thorsten.blum@linux.dev
Reviewed-by: Himanshu Madhani <hmadhani2024@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_os.c