✗ CI.checkpatch: warning for Converge on using secs_to_jiffies() (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Tue Dec 10 22:37:01 UTC 2024
== Series Details ==
Series: Converge on using secs_to_jiffies() (rev3)
URL : https://patchwork.freedesktop.org/series/141435/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit aaeeed8a60aaefe8896300f0a2a0d02051b17ce2
Author: Easwar Hariharan <eahariha at linux.microsoft.com>
Date: Tue Dec 10 22:02:50 2024 +0000
ALSA: line6: 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:
@@ constant C; @@
- msecs_to_jiffies(C * 1000)
+ secs_to_jiffies(C)
@@ constant C; @@
- msecs_to_jiffies(C * MSEC_PER_SEC)
+ secs_to_jiffies(C)
Signed-off-by: Easwar Hariharan <eahariha at linux.microsoft.com>
+ /mt/dim checkpatch 2223c2c738ecb056c0a77e115334887da66668c8 drm-intel
9af740651d50 netfilter: conntrack: Cleanup timeout definitions
40b120c2bf4a coccinelle: misc: Add secs_to_jiffies script
-:14: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#14:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 22 lines checked
fe3ab9c6bffe arm: pxa: Convert timeouts to use secs_to_jiffies()
-:38: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV)
#38: FILE: arch/arm/mach-pxa/sharpsl_pm.c:35:
+#define SHARPSL_CHARGE_FINISH_TIME (secs_to_jiffies(10*60))
^
-:40: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV)
#40: FILE: arch/arm/mach-pxa/sharpsl_pm.c:37:
+#define SHARPSL_BATCHK_TIME_SUSPEND (60*10) /* 10 min */
^
total: 0 errors, 0 warnings, 2 checks, 14 lines checked
10db53e65e76 s390: kernel: Convert timeouts to use secs_to_jiffies()
aceb58abc01e powerpc/papr_scm: Convert timeouts to secs_to_jiffies()
0771e5ddcd78 mm: kmemleak: Convert timeouts to secs_to_jiffies()
9334a301e835 accel/habanalabs: Convert timeouts to secs_to_jiffies()
95969d565a8d drm/xe: Convert timeout to secs_to_jiffies()
8b824a3a6936 scsi: lpfc: Convert timeouts to secs_to_jiffies()
58ce31947265 scsi: arcmsr: Convert timeouts to secs_to_jiffies()
58f6b10057d1 scsi: pm8001: Convert timeouts to secs_to_jiffies()
ed972d55c8d5 xen/blkback: Convert timeouts to secs_to_jiffies()
69e725313cc7 gve: Convert timeouts to secs_to_jiffies()
1c38fdc0ad7d wifi: ath11k: Convert timeouts to secs_to_jiffies()
419895552a5d Bluetooth: MGMT: Convert timeouts to secs_to_jiffies()
d9d2d401e59a staging: vc04_services: Convert timeouts to secs_to_jiffies()
331d5a952587 ceph: Convert timeouts to secs_to_jiffies()
bcdfc690c5bb livepatch: Convert timeouts to secs_to_jiffies()
aaeeed8a60aa ALSA: line6: Convert timeouts to secs_to_jiffies()
More information about the Intel-xe
mailing list