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-09-29 21:11:12 -07:00
2015-09-29 21:11:13 -07:00
2015-09-29 13:49:53 -07:00
2015-09-08 22:44:42 -07:00
2015-11-06 14:22:15 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 15:39:03 -05:00
2015-11-16 15:12:25 -05:00
2015-11-06 14:22:15 -08:00
2015-06-29 12:52:06 -07:00
2015-07-08 16:04:06 -07:00
2015-11-16 17:11:31 -05:00
2015-11-16 17:11:31 -05:00