aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2015-11-20 23:57:07 +0000
committerLinus Torvalds <[email protected]>2015-11-21 00:17:32 +0000
commit1a47de6e4a8dc2aaf3c3fb544b60730b74abe0f1 (patch)
tree0882cd3057a935843aed8fd5d343df348adf8e99 /drivers/fpga/fpga-mgr.c
parentmm: loosen MADV_NOHUGEPAGE to enable Qemu postcopy on s390 (diff)
downloadkernel-1a47de6e4a8dc2aaf3c3fb544b60730b74abe0f1.tar.gz
kernel-1a47de6e4a8dc2aaf3c3fb544b60730b74abe0f1.zip
various: fix pci_set_dma_mask return value checking
pci_set_dma_mask returns a negative errno value, not a bool like pci_dma_supported. This of course was just a giant test for attention :) Signed-off-by: Christoph Hellwig <[email protected]> Reported-by: Jongman Heo <[email protected]> Tested-by: Jongman Heo <[email protected]> [pcnet32] Acked-by: Mauro Carvalho Chehab <[email protected]> Cc: Hans Verkuil <[email protected]> Cc: Antti Palosaari <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions