aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorKulikov Vasiliy <segooon@gmail.com>2010-08-10 18:03:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 08:59:21 -0700
commitb425d5c82d9b1fcf788688e556e4dfeca76604da (patch)
treeabec89a7486ca331b2bad256a95b4674379f3aed /samples
parent44aa80f005be88fef940fccdd345b313964768f3 (diff)
downloadkernel_samsung_smdk4412-b425d5c82d9b1fcf788688e556e4dfeca76604da.zip
kernel_samsung_smdk4412-b425d5c82d9b1fcf788688e556e4dfeca76604da.tar.gz
kernel_samsung_smdk4412-b425d5c82d9b1fcf788688e556e4dfeca76604da.tar.bz2
edac: i5400: improve handling of pci_enable_device() return value
-EIO is not the only error code that pci_enable_device() may return, also the set of errors can be enhanced in future. We should compare return code with zero, not with concrete error value. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Jeff Roberson <jroberson@jroberson.net> Cc: Doug Thompson <dougthompson@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions