mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 14:23:49 +01:00
Commit b35108a51c ("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:
@@ constant C; @@
- msecs_to_jiffies(C * 1000)
+ secs_to_jiffies(C)
@@ constant C; @@
- msecs_to_jiffies(C * MSEC_PER_SEC)
+ secs_to_jiffies(C)
Link: https://lkml.kernel.org/r/20241210-converge-secs-to-jiffies-v3-18-ddfefd7e9f2a@linux.microsoft.com
Signed-off-by: Easwar Hariharan <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Cc: Alexander Gordeev <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Anna-Maria Behnsen <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Daniel Mack <[email protected]>
Cc: David Airlie <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Dick Kennedy <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Haojian Zhuang <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Ilya Dryomov <[email protected]>
Cc: Jack Wang <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: James Smart <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Jeff Johnson <[email protected]>
Cc: Jeff Johnson <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Jeroen de Borst <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Joe Lawrence <[email protected]>
Cc: Johan Hedberg <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Jozsef Kadlecsik <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Kalle Valo <[email protected]>
Cc: Louis Peens <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Luiz Augusto von Dentz <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Marcel Holtmann <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Miroslav Benes <[email protected]>
Cc: Naveen N Rao <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Nicolas Palix <[email protected]>
Cc: Oded Gabbay <[email protected]>
Cc: Ofir Bitton <[email protected]>
Cc: Pablo Neira Ayuso <[email protected]>
Cc: Paolo Abeni <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Praveen Kaligineedi <[email protected]>
Cc: Ray Jui <[email protected]>
Cc: Robert Jarzmik <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Roger Pau Monné <[email protected]>
Cc: Russell King <[email protected]>
Cc: Scott Branden <[email protected]>
Cc: Shailend Chand <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Thomas Hellström <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Xiubo Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>