summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-05-21 11:20:50 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-01 03:46:56 +0200
commit7029705a9d0544186c29ae09708b3e5adb512835 (patch)
tree5156e8edaa013c77b3fd007ab83ddff873d9d622 /drivers/macintosh
parentpowerpc: Set cpu sibling mask before online cpu (diff)
downloadlinux-7029705a9d0544186c29ae09708b3e5adb512835.tar.xz
linux-7029705a9d0544186c29ae09708b3e5adb512835.zip
powerpc/nvram64: Need return the related error code on failure occurs
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>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions