diff options
author | Christoph Hellwig <hch@lst.de> | 2015-11-21 02:57:07 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-21 03:17:32 +0300 |
commit | 1a47de6e4a8dc2aaf3c3fb544b60730b74abe0f1 (patch) | |
tree | 0882cd3057a935843aed8fd5d343df348adf8e99 /fs/hugetlbfs | |
parent | 1a763615688b891246c5b0a932d7a95fea4c1a68 (diff) | |
download | linux-1a47de6e4a8dc2aaf3c3fb544b60730b74abe0f1.tar.xz |
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 <hch@lst.de>
Reported-by: Jongman Heo <jongman.heo@samsung.com>
Tested-by: Jongman Heo <jongman.heo@samsung.com> [pcnet32]
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions