drivers: usb: gadget: fusb300_udc.h: Fix typo in include guard
Subsystems (2)
PATCH 1/1 drivers: usb: gadget: fusb300_udc.h: Fix typo in include guard
--- drivers/usb/gadget/udc/fusb300_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/fusb300_udc.h +1 -1
@@ -12,7 +12,7 @@#ifndef __FUSB300_UDC_H__ -#define __FUSB300_UDC_H_ +#define __FUSB300_UDC_H__#include <linux/kernel.h>
Signature · 1 line
1.9.2
On Fri, Aug 22, 2014 at 02:59:32PM +0200, Rasmus Villemoes wrote:
you need a commit log. Has this always been there ? Which commit are you fixing ?
Quoted 21 lines
Signed-off-by Rasmus Villemoes <[email protected]>--- drivers/usb/gadget/udc/fusb300_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/gadget/udc/fusb300_udc.h +1
-1@@ -12,7 +12,7 @@#ifndef __FUSB300_UDC_H__ -#define __FUSB300_UDC_H_ +#define __FUSB300_UDC_H__#include <linux/kernel.h> Signature · 1 line
1.9.2
Signature · 1 line
balbi
PATCH v2 1/1 drivers: usb: gadget: fusb300_udc.h: Fix typo in include guard
Clearly this was meant to be an include guard, but a trailing underscore was missing. It has been this way since the file was introduced in 0fe6f1d1 ("usb: udc: add Faraday fusb300 driver").
--- drivers/usb/gadget/udc/fusb300_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/fusb300_udc.h +1 -1
@@ -12,7 +12,7 @@#ifndef __FUSB300_UDC_H__ -#define __FUSB300_UDC_H_ +#define __FUSB300_UDC_H__#include <linux/kernel.h>
Signature · 1 line
2.0.4
Quoted 4 lines · Rasmus Villemoes
Clearly this was meant to be an include guard, but a trailing underscore was missing. It has been this way since the file was introduced in
0fe6f1d1("usb: udc: add Faraday fusb300 driver").
right here you need to have:
Quoted 21 lines
Signed-off-by Rasmus Villemoes <[email protected]>--- drivers/usb/gadget/udc/fusb300_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/gadget/udc/fusb300_udc.h +1
-1@@ -12,7 +12,7 @@#ifndef __FUSB300_UDC_H__ -#define __FUSB300_UDC_H_ +#define __FUSB300_UDC_H__#include <linux/kernel.h> Signature · 1 line
2.0.4
Signature · 1 line
balbi
Quoted 10 lines · Felipe Balbi
Quoted 4 lines · Rasmus Villemoes
Clearly this was meant to be an include guard, but a trailing underscore was missing. It has been this way since the file was introduced in
0fe6f1d1("usb: udc: add Faraday fusb300 driver").right here you need to have:
Fixes 0fe6f1d1 ("usb: udc: add Faraday fusb300 driver")Cc <[email protected]>
Really? I can't see that it satisfies the Documentation/stable_kernel_rules.txt. There's no chance of build error, since the file is only included directly from a single .c file. As you can see on LKML I've sent a few handfuls of similar patches all over the tree; IMHO none of them qualify for stable.
If you insist, I'll add the Fixes and Cc tags.
Thanks,
Rasmus
Hi,
Quoted 13 lines · Rasmus Villemoes
Quoted 10 lines · Felipe Balbi
Quoted 4 lines · Rasmus Villemoes
Clearly this was meant to be an include guard, but a trailing underscore was missing. It has been this way since the file was introduced in
0fe6f1d1("usb: udc: add Faraday fusb300 driver").right here you need to have:
Fixes 0fe6f1d1 ("usb: udc: add Faraday fusb300 driver")Cc <[email protected]>
Quoted 7 lines
Really? I can't see that it satisfies the
Documentation/stable_kernel_rules.txt. There's no chance of build error, since the file is only included directly from a single .c file. As you can see on LKML I've sent a few handfuls of similar patches all over the tree; IMHO none of them qualify for stable.If you insist, I'll add the Fixes and Cc tags.
it's a bug fix nevertheless.
Signature · 1 line
balbi
PATCH v3 1/1 drivers: usb: gadget: fusb300_udc.h: Fix typo in include guard
Clearly this was meant to be an include guard, but a trailing underscore was missing. It has been this way since the file was introduced in 0fe6f1d1 ("usb: udc: add Faraday fusb300 driver").
---
Notes:
v2: Add proper commit message.
v3: Add "Fixes:" and "Cc: stable" tags as requested by Felipe Balbi.
drivers/usb/gadget/udc/fusb300_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/fusb300_udc.h +1 -1
@@ -12,7 +12,7 @@#ifndef __FUSB300_UDC_H__ -#define __FUSB300_UDC_H_ +#define __FUSB300_UDC_H__#include <linux/kernel.h>
Signature · 1 line
2.0.4