aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorVlastimil Babka <[email protected]>2017-01-04 11:19:31 +0100
committerJens Axboe <[email protected]>2017-01-11 20:47:08 -0700
commit1661f2e21c8bbf922dcb76faf2126a33ffe4cddb (patch)
tree337d6d186a2b8e557020202ae2fd6935cf513cb7 /include/linux/fpga/fpga-bridge.h
parenta121103c922847ba5010819a3f250f1f7fc84ab8 (diff)
floppy: replace wrong kmalloc(GFP_USER) with GFP_KERNEL
The raw_cmd_copyin() function does a kmalloc() with GFP_USER, although the allocated structure is obviously not mapped to userspace, just copied from/to. In this case GFP_KERNEL is more appropriate, so let's use it, although in the current implementation this does not manifest as any error. Reported-by: Matthew Wilcox <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions