diff options
| author | Easwar Hariharan <[email protected]> | 2025-02-25 20:17:30 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-03-17 19:16:59 +0000 |
| commit | f873136416293b786e7611d36226c9f5a8f6d20b (patch) | |
| tree | 621556001de237cfc796be9626e5e463fd7409f5 /lib/dynamic_debug.c | |
| parent | platform/x86: thinkpad_acpi: convert timeouts to secs_to_jiffies() (diff) | |
| download | kernel-f873136416293b786e7611d36226c9f5a8f6d20b.tar.gz kernel-f873136416293b786e7611d36226c9f5a8f6d20b.zip | |
RDMA/bnxt_re: convert timeouts to secs_to_jiffies()
Commit b35108a51cf7 ("jiffies: Define secs_to_jiffies()") introduced
secs_to_jiffies(). As the value here is a multiple of 1000, use
secs_to_jiffies() instead of msecs_to_jiffies() to avoid the
multiplication
This is converted using scripts/coccinelle/misc/secs_to_jiffies.cocci with
the following Coccinelle rules:
@depends on patch@
expression E;
@@
-msecs_to_jiffies
+secs_to_jiffies
(E
- * \( 1000 \| MSEC_PER_SEC \)
)
Link: https://lkml.kernel.org/r/20250225-converge-secs-to-jiffies-part-two-v3-16-a43967e36c88@linux.microsoft.com
Signed-off-by: Easwar Hariharan <[email protected]>
Cc: Carlos Maiolino <[email protected]>
Cc: Carlos Maiolino <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Damien Le Maol <[email protected]>
Cc: "Darrick J. Wong" <[email protected]>
Cc: David Sterba <[email protected]>
Cc: Dick Kennedy <[email protected]>
Cc: Dongsheng Yang <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Henrique de Moraes Holschuh <[email protected]>
Cc: Ilpo Jarvinen <[email protected]>
Cc: Ilya Dryomov <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: James Smart <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Kalesh Anakkur Purayil <[email protected]>
Cc: Keith Busch <[email protected]>
Cc: Leon Romanovsky <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: Nicolas Palix <[email protected]>
Cc: Niklas Cassel <[email protected]>
Cc: Oded Gabbay <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: Selvin Thyparampil Xavier <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Shyam-sundar S-k <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Xiubo Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
