diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-08-10 18:03:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 08:59:21 -0700 |
commit | 44aa80f005be88fef940fccdd345b313964768f3 (patch) | |
tree | 0a2c4304eb01c18a3bfb9402bb43abcf3c953294 /drivers/edac/i5400_edac.c | |
parent | bd1688dcdf6e986913f3f1ff2df9dc2bfb63db5c (diff) | |
download | kernel_samsung_tuna-44aa80f005be88fef940fccdd345b313964768f3.zip kernel_samsung_tuna-44aa80f005be88fef940fccdd345b313964768f3.tar.gz kernel_samsung_tuna-44aa80f005be88fef940fccdd345b313964768f3.tar.bz2 |
edac: i5000: 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 'drivers/edac/i5400_edac.c')
0 files changed, 0 insertions, 0 deletions