diff options
author | 2017-06-22 17:05:35 -0500 | |
---|---|---|
committer | 2017-06-23 09:48:50 +0200 | |
commit | ee514c7a2379385fcec363f2f5f8db4eb56bc48c (patch) | |
tree | 5a36ac3d8368dab11f80b94ab63863b86fdc84d7 /drivers/edac/e7xxx_edac.c | |
parent | EDAC, altera: Simplify calculation of total memory (diff) | |
download | linux-dev-ee514c7a2379385fcec363f2f5f8db4eb56bc48c.tar.xz linux-dev-ee514c7a2379385fcec363f2f5f8db4eb56bc48c.zip |
EDAC, pnd2: Return proper error value from apl_rd_reg()
Add code comment to make it clear that the fall-through is intentional
and, OR ret with its previous value to avoid overwriting it so that
callers can check the correct return value.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170622220535.GA4896@embeddedgus
[ Massage a bit. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/e7xxx_edac.c')
0 files changed, 0 insertions, 0 deletions