Staging: line6: fix parentheses around macro in usbdefs.h
PATCH 1/1 Staging: line6: fix parentheses around macro in usbdefs.h
Quoted 1 line
From
a9deb1763d3f23a3b005e63fdc896c6d903097d1Mon Sep 17 00:00:00 2001
From: Sam van Kampen <[email protected]>
Date: Wed, 3 Dec 2014 09:05:51 +0100
Subject: [PATCH] Staging: line6: fix parentheses around macro in usbdefs.h
This patch fixes the error "Macros with complex values should be enclosed in parentheses", as reported by checkpatch.pl.
--- drivers/staging/line6/usbdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/line6/usbdefs.h +1 -1
@@ -40,7 +40,7 @@#define LINE6_DEVID_TONEPORT_UX2 0x4142#define LINE6_DEVID_VARIAX 0x534d -#define LINE6_BIT (x) LINE6_BIT_ ## x = 1 << LINE6_INDEX_ ## x +#define LINE6_BIT (x) (LINE6_BIT_ ## x = 1 << LINE6_INDEX_ ## x)enum {LINE6_INDEX_BASSPODXT ,
Signature · 1 line
2.0.4
Greg Kroah-Hartman
maintainerQuoted 4 lines · Sam van Kampen
Quoted 1 line
From
a9deb1763d3f23a3b005e63fdc896c6d903097d1Mon Sep 17 00:00:00 2001From: Sam van Kampen <[email protected]>
Date: Wed, 3 Dec 2014 09:05:51 +0100
Subject: [PATCH] Staging: line6: fix parentheses around macro inusbdefs.h
Why is this mess here?
Quoted 7 lines
This patch fixes the error "Macros with complex values should be enclosed in parentheses", as reported by checkpatch.pl.
Signed-off-by Sam van Kampen <[email protected]>--- drivers/staging/line6/usbdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Any reason you didn't use scripts/get_maintainer.pl to determine who to send the patch to? Please do that and resend.
thanks,
greg k-h
Quoted 7 lines · Greg Kroah-Hartman
Quoted 4 lines · Sam van Kampen
Quoted 1 line
From
a9deb1763d3f23a3b005e63fdc896c6d903097d1Mon Sep 17 00:00:00 2001From: Sam van Kampen <[email protected]>
Date: Wed, 3 Dec 2014 09:05:51 +0100
Subject: [PATCH] Staging: line6: fix parentheses around macro inusbdefs.hWhy is this mess here?
Sorry, the mess was auto-generated by git format-patch. I had seen it before on the mailing list and therefore didn't question it.
Quoted 11 lines
Quoted 8 lines
This patch fixes the error "Macros with complex values should be enclosed in parentheses", as reported by checkpatch.pl.
Signed-off-by Sam van Kampen <[email protected]>--- drivers/staging/line6/usbdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Any reason you didn't use
scripts/get_maintainer.plto determine who to send the patch to? Please do that and resend.
I wasn't sure whether I should send the patch to everyone on that list, so I merely sent it to you and linux-kernel (missing the list for the staging subsystem). I'll resend it, without the mess and with the correct recipients.
Thanks,
Sam