Skip to contentSkip to conversation

media: pci: cx88: Change the type of 'missed' to u64

PATCH New puranjay12 at gmail.com (Puranjay Mohan) 2 participants 2 messages Jun 16, 2019 – Jun 17, 2019

Subsystems (2)
lore
Share & tools
lore

puranjay12 at gmail.com (Puranjay Mohan)

#0 lore raw

PATCH 1/1 media: pci: cx88: Change the type of 'missed' to u64

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 <puranjay12 at gmail.com>
---
 drivers/media/pci/cx88/cx88-input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/pci/cx88/cx88-input.c +1 -1
index 27f690b54e0c..fa5ce464b0ba 100644
@@ -167,7 +167,7 @@ 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);
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 media: pci: cx88: Change the type of 'missed' to u64

Quoted 14 lines · Puranjay Mohan

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 <puranjay12 at gmail.com>
---
  drivers/media/pci/cx88/cx88-input.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/pci/cx88/cx88-input.c +0 -0
index 27f690b54e0c..fa5ce464b0ba 100644

drivers/media/pci/cx88/cx88-input.c static void cx88_ir_handle_key(struct cx88_IR *ir) · line 173

Quoted 8 lines
drivers/media/pci/cx88/cx88-input.c +1 -1
@@ -167,7 +167,7 @@ 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);

You are missing the mailing lists! Please include all get_maintainers.pl suggests on all your patches.

thanks,
-- Shuah