Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed5a2825 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by David Woodhouse
Browse files

isight: treat firmware data as const

parent a13b04af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;