git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cce606f
)
powerpc/nvram64: Need return the related error code on failure occurs
author
Chen Gang
<gang.chen@asianux.com>
Tue, 21 May 2013 09:20:50 +0000
(17:20 +0800)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:46:56 +0000
(11:46 +1000)
When error occurs, need return the related error code to let upper
caller know about it.
ppc_md.nvram_size() can return the error code (e.g. core99_nvram_size()
in 'arch/powerpc/platforms/powermac/nvram.c').
Also set ret value when only need it, so can save structions for normal
cases.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/nvram_64.c
patch
|
blob
|
history
diff --cc
arch/powerpc/kernel/nvram_64.c
Simple merge