diff options
| author | Christoph Hellwig <[email protected]> | 2015-11-20 23:57:07 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-11-21 00:17:32 +0000 |
| commit | 1a47de6e4a8dc2aaf3c3fb544b60730b74abe0f1 (patch) | |
| tree | 0882cd3057a935843aed8fd5d343df348adf8e99 /drivers/fpga/fpga-mgr.c | |
| parent | mm: loosen MADV_NOHUGEPAGE to enable Qemu postcopy on s390 (diff) | |
| download | kernel-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
