Christoph Hellwig 1a47de6e4a 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>
2015-11-20 16:17:32 -08:00
..
2015-11-05 13:15:12 -08:00
2015-08-13 21:12:17 -07:00
2015-11-15 17:09:23 -05:00
2015-11-05 13:15:12 -08:00
2015-11-17 14:39:29 -05:00
2015-11-09 15:11:24 -08:00
2015-11-04 17:32:42 -08:00
2015-10-21 19:36:10 -07:00
2015-07-08 16:00:09 -07:00
2015-10-13 04:55:07 -07:00
2015-10-13 04:55:07 -07:00
2015-11-04 17:32:42 -08:00