mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
[PATCH] USB: net2280 warning fix
drivers/usb/gadget/net2280.c: In function 'show_registers': drivers/usb/gadget/net2280.c:1501: warning: assignment discards qualifiers from pointer target type Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5db539e49f
commit
30e6959866
@ -1490,7 +1490,7 @@ show_registers (struct device *_dev, struct device_attribute *attr, char *buf)
|
||||
unsigned long flags;
|
||||
int i;
|
||||
u32 t1, t2;
|
||||
char *s;
|
||||
const char *s;
|
||||
|
||||
dev = dev_get_drvdata (_dev);
|
||||
next = buf;
|
||||
|
Loading…
Reference in New Issue
Block a user