From: Andrew Morton Date: Mon, 27 Jun 2005 00:18:46 +0000 (-0700) Subject: [PATCH] USB: net2280 warning fix X-Git-Tag: firefly_0821_release~42844 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=30e695986679ac2d2354fc1634e8cb931bb47785;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index 234a1a97b84e..477fab2e74d1 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c @@ -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;