]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 13 Jul 2006 07:54:39 +0000 (17:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Jul 2006 08:43:01 +0000 (18:43 +1000)
commitf357b4cc5826ae55a5f3893424502cb15c6b6eba
tree39dcb3204ce8e5670863a180deda0c2a9efc9b5c
parent06a36db1d712242a00cb30aaebdd088b4be28082
[POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c

iSeries_Get_Location_Code() has error paths, but currently returns void, so
give it a return code and only print the output if it returns successfully.
Gcc isn't smart enough to be quiet though, so set frame to 0 to shut it up.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/platforms/iseries/vpdinfo.c