Thread (31 messages) 31 messages, 7 authors, 2024-12-03

Re: [PATCH 03/22] arm: pxa: Convert timeouts to use secs_to_jiffies()

From: Easwar Hariharan <hidden>
Date: 2024-11-16 00:12:34
Also in: ath11k, ceph-devel, cocci, dri-devel, intel-xe, linux-block, linux-bluetooth, linux-mm, linux-s390, linux-scsi, linux-sound, linux-staging, linux-wireless, live-patching, lkml, netdev, netfilter-devel, xen-devel

On 11/15/2024 2:38 PM, Stephen Rothwell wrote:
Hi Easwar,

On Fri, 15 Nov 2024 21:22:33 +0000 Easwar Hariharan [off-list ref] wrote:
quoted
-#define SHARPSL_CHARGE_ON_TIME_INTERVAL        (msecs_to_jiffies(1*60*1000))  /* 1 min */
-#define SHARPSL_CHARGE_FINISH_TIME             (msecs_to_jiffies(10*60*1000)) /* 10 min */
-#define SHARPSL_BATCHK_TIME                    (msecs_to_jiffies(15*1000))    /* 15 sec */
+#define SHARPSL_CHARGE_ON_TIME_INTERVAL        (secs_to_jiffies(60))  /* 1 min */
+#define SHARPSL_CHARGE_FINISH_TIME             (secs_to_jiffies(10*60)) /* 10 min */
+#define SHARPSL_BATCHK_TIME                    (secs_to_jiffies(15))    /* 15 sec */
It might be nice to keep the alignment of the comments here.
Will fix in v3.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help