Skip to contentSkip to conversation

media: cx23885: fix type of allowed_protos

PATCH New Heiner Kallweit 1 participant 1 message Nov 17, 2015 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: cx23885: fix type of allowed_protos

Protocol lists are represented as 64-bit bitmaps,
therefore use u64 instead of unsigned long.

---
 drivers/media/pci/cx23885/cx23885-input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/pci/cx23885/cx23885-input.c +1 -1
index 088799c..64328d0 100644
@@ -268,7 +268,7 @@ int cx23885_input_init(struct cx23885_dev *dev)
 	struct rc_dev *rc;
 	char *rc_map;
 	enum rc_driver_type driver_type;
-	unsigned long allowed_protos;
+	u64 allowed_protos;
 
 	int ret;
 
Signature · 1 line
2.6.2