Skip to content
Commit a3af901c authored by Hyeonggon Yoo's avatar Hyeonggon Yoo Committed by Jiri Kosina
Browse files

HID: usbkbd: Avoid GFP_ATOMIC when GFP_KERNEL is possible



usb_kbd_alloc_mem is called in usb_kbd_probe, which is
not in atomic context. So constraints can be relaxed here.

Use GFP_KERNEL instead of GFP_ATOMIC.

Signed-off-by: default avatarHyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 04c22eea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment