Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

media: flexcop: unneeded ATOMIC

No need for GFP_ATOMIC during probe()

Link: https://lore.kernel.org/linux-media/20220517131109.28371-1-oneukum@suse.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Oliver Neukum and committed by
Mauro Carvalho Chehab
f835f3ea 30f7bc00

+2 -2
+2 -2
drivers/media/usb/b2c2/flexcop-usb.c
··· 448 448 /* creating iso urbs */ 449 449 for (i = 0; i < B2C2_USB_NUM_ISO_URB; i++) { 450 450 fc_usb->iso_urb[i] = usb_alloc_urb(B2C2_USB_FRAMES_PER_ISO, 451 - GFP_ATOMIC); 451 + GFP_KERNEL); 452 452 if (fc_usb->iso_urb[i] == NULL) { 453 453 ret = -ENOMEM; 454 454 goto urb_error; ··· 481 481 frame_offset += frame_size; 482 482 } 483 483 484 - if ((ret = usb_submit_urb(fc_usb->iso_urb[i],GFP_ATOMIC))) { 484 + if ((ret = usb_submit_urb(fc_usb->iso_urb[i],GFP_KERNEL))) { 485 485 err("submitting urb %d failed with %d.", i, ret); 486 486 goto urb_error; 487 487 }