Loading sound/usb/line6/podhd.c +1 −3 Original line number Diff line number Diff line Loading @@ -293,12 +293,10 @@ static void podhd_set_monitor_level(struct usb_line6_podhd *podhd, int value) }; unsigned char *buf; buf = kmalloc(sizeof(msg), GFP_KERNEL); buf = kmemdup(msg, sizeof(msg), GFP_KERNEL); if (!buf) return; memcpy(buf, msg, sizeof(msg)); if (value < 0) value = 0; Loading Loading
sound/usb/line6/podhd.c +1 −3 Original line number Diff line number Diff line Loading @@ -293,12 +293,10 @@ static void podhd_set_monitor_level(struct usb_line6_podhd *podhd, int value) }; unsigned char *buf; buf = kmalloc(sizeof(msg), GFP_KERNEL); buf = kmemdup(msg, sizeof(msg), GFP_KERNEL); if (!buf) return; memcpy(buf, msg, sizeof(msg)); if (value < 0) value = 0; Loading