[PATCH 1/6] Staging: gdm72xx: Add space around that "+", "&" and "|"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Shraddha Barke <shraddha.6596@xxxxxxxxx>

Add missing spaces around "+", "&" and "|" to follow kernel coding
style. Warning detected by checkpatch.

Signed-off-by: Shraddha Barke <shraddha.6596@xxxxxxxxx>
---
 drivers/staging/gdm72xx/usb_ids.h | 64 +++++++++++++++++++--------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

diff --git a/drivers/staging/gdm72xx/usb_ids.h b/drivers/staging/gdm72xx/usb_ids.h
index 7afb9ba..84a6d68 100644
--- a/drivers/staging/gdm72xx/usb_ids.h
+++ b/drivers/staging/gdm72xx/usb_ids.h
@@ -32,10 +32,10 @@
 #define BL_PID_MASK		0xffc0
 
 #define USB_DEVICE_BOOTLOADER(vid, pid)	\
-	{USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD)}
+	{USB_DEVICE((vid), ((pid) & BL_PID_MASK) | B_DOWNLOAD)}
 
 #define USB_DEVICE_BOOTLOADER_DRV(vid, pid)	\
-	{USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD|B_DIFF_DL_DRV)}
+	{USB_DEVICE((vid), ((pid) & BL_PID_MASK) | B_DOWNLOAD | B_DIFF_DL_DRV)}
 
 #define USB_DEVICE_CDC_DATA(vid, pid)	\
 	{USB_DEVICE_INTF((vid), (pid), USB_CLASS_CDC_DATA)}
@@ -44,40 +44,40 @@ static const struct usb_device_id id_table[] = {
 	USB_DEVICE_BOOTLOADER(GCT_VID, GCT_PID1),
 	USB_DEVICE_BOOTLOADER_DRV(GCT_VID, GCT_PID1),
 	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x1),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x2),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x3),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x4),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x5),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x6),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x7),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x8),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0x9),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0xa),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0xb),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0xc),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0xd),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0xe),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1+0xf),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x1),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x2),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x3),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x4),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x5),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x6),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x7),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x8),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0x9),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xa),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xb),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xc),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xd),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xe),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID1 + 0xf),
 
 	USB_DEVICE_BOOTLOADER(GCT_VID, GCT_PID2),
 	USB_DEVICE_BOOTLOADER_DRV(GCT_VID, GCT_PID2),
 	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x1),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x2),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x3),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x4),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x5),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x6),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x7),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x8),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0x9),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0xa),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0xb),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0xc),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0xd),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0xe),
-	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2+0xf),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x1),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x2),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x3),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x4),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x5),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x6),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x7),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x8),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0x9),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xa),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xb),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xc),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xd),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xe),
+	USB_DEVICE_CDC_DATA(GCT_VID, GCT_PID2 + 0xf),
 
 	{USB_DEVICE(GCT_VID, EMERGENCY_PID)},
 	{ }
-- 
2.1.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux