diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-16 21:20:40 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-19 22:11:12 +0200 |
commit | 64da392ab08a88ad83f4c3f60283711ee090c9ef (patch) | |
tree | b9980fa27bb3dd9edb3563a8ccf75ea7ab79a091 /drivers/edac | |
parent | mtd: m25p80: add SST WF SPI flash device information (diff) | |
download | linux-64da392ab08a88ad83f4c3f60283711ee090c9ef.tar.xz linux-64da392ab08a88ad83f4c3f60283711ee090c9ef.zip |
phram: cleanup error handling and associated messages
The error handling in the phram driver is pretty bad -- in many places,
errors are silently ignored or logged, but then still ignored in the
return value. So convert all of the code to pass back the correct return
value and log error messages properly (and using the new pr_fmt() helper).
If everything does go smoothly, rather than exit silently, dump a helpful
info message like pretty much every other MTD driver does.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Joern Engel <joern@logfs.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions