aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorAndrew Donnellan <[email protected]>2019-03-14 04:27:27 +0000
committerMichael Ellerman <[email protected]>2019-04-20 12:03:19 +0000
commit2f9196b67237f1e59f2753b2968f8ad6433d4042 (patch)
tree9a4b64efb14b03690cb6d582e20e8f94e0611ea6 /arch/powerpc/lib/code-patching.c
parentpowerpc/crypto: Use cheaper random numbers for crc-vpmsum self-test (diff)
downloadkernel-2f9196b67237f1e59f2753b2968f8ad6433d4042.tar.gz
kernel-2f9196b67237f1e59f2753b2968f8ad6433d4042.zip
powerpc/powernv: Squash sparse warnings in opal-call.c
sparse complains a lot about opal-call.c: arch/powerpc/platforms/powernv/opal-call.c:128:1: warning: symbol 'opal_invalid_call' was not declared. Should it be static? arch/powerpc/platforms/powernv/opal-call.c:129:1: warning: symbol 'opal_console_write' was not declared. Should it be static? arch/powerpc/platforms/powernv/opal-call.c:130:1: warning: symbol 'opal_console_read' was not declared. Should it be static? Those symbols are forward declared in opal.h, but we can't include that because the function signatures in opal.h are different. So instead, just add an extra forward declaration to the OPAL_CALL macro to shut sparse up. Signed-off-by: Andrew Donnellan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions