aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorEaswar Hariharan <[email protected]>2025-02-25 20:17:29 +0000
committerAndrew Morton <[email protected]>2025-03-17 19:16:59 +0000
commit66644d80a4f9835f3dae0bfee6c6e529f6b082fe (patch)
tree95319f221e7d1ba9b1c06a43c19f908af87977e6 /lib/dynamic_debug.c
parentplatform/x86/amd/pmf: convert timeouts to secs_to_jiffies() (diff)
downloadkernel-66644d80a4f9835f3dae0bfee6c6e529f6b082fe.tar.gz
kernel-66644d80a4f9835f3dae0bfee6c6e529f6b082fe.zip
platform/x86: thinkpad_acpi: 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-15-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