This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: pci: cx88: Change the type of 'missed' to u64
Author:  Puranjay Mohan <[email protected]>
Date:    Tue Jun 18 00:19:37 2019 -0400

Callers of hrtimer_forward_now() should save the return value in u64.
change type of missed from unsigned long to u64.

Signed-off-by: Puranjay Mohan <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
[[email protected]: type changed, so %ld -> %llu in printk]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/pci/cx88/cx88-input.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

---

diff --git a/drivers/media/pci/cx88/cx88-input.c 
b/drivers/media/pci/cx88/cx88-input.c
index 27f690b54e0c..589f52d961eb 100644
--- a/drivers/media/pci/cx88/cx88-input.c
+++ b/drivers/media/pci/cx88/cx88-input.c
@@ -167,14 +167,14 @@ static void cx88_ir_handle_key(struct cx88_IR *ir)
 
 static enum hrtimer_restart cx88_ir_work(struct hrtimer *timer)
 {
-       unsigned long missed;
+       u64 missed;
        struct cx88_IR *ir = container_of(timer, struct cx88_IR, timer);
 
        cx88_ir_handle_key(ir);
        missed = hrtimer_forward_now(&ir->timer,
                                     ktime_set(0, ir->polling * 1000000));
        if (missed > 1)
-               ir_dprintk("Missed ticks %ld\n", missed - 1);
+               ir_dprintk("Missed ticks %llu\n", missed - 1);
 
        return HRTIMER_RESTART;
 }

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to