projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13b04a
)
isight: treat firmware data as const
author
gregkh@suse.de
<gregkh@suse.de>
Thu, 29 May 2008 17:17:38 +0000
(10:17 -0700)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:26:45 +0000
(14:26 +0100)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/usb/misc/isight_firmware.c
patch
|
blob
|
history
diff --git
a/drivers/usb/misc/isight_firmware.c
b/drivers/usb/misc/isight_firmware.c
index
9f30aa1
..
d94aa73
100644
(file)
--- a/
drivers/usb/misc/isight_firmware.c
+++ b/
drivers/usb/misc/isight_firmware.c
@@
-41,7
+41,7
@@
static int isight_firmware_load(struct usb_interface *intf,
const struct firmware *firmware;
unsigned char *buf = kmalloc(50, GFP_KERNEL);
unsigned char data[4];
- u8 *ptr;
+
const
u8 *ptr;
if (!buf)
return -ENOMEM;