diff options
| author | Breno Leitao <[email protected]> | 2018-09-25 11:29:33 -0300 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-10-03 15:40:05 +1000 |
| commit | 62dea077f56728979e40a741c8a0941dca7290e8 (patch) | |
| tree | 6de20a6ba9f735296035ca38f82b72934f36ccd8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | fc35ef12dc8ba8633a99c9d9df03a5bb53f1dda3 (diff) | |
powerpc/powernv: Mark function as __noreturn
There is a mismatch between function pnv_platform_error_reboot() definition
and declaration regarding function modifiers. In the declaration part, it
contains the function attribute __noreturn, while function definition
itself lacks it.
This was reported by sparse tool as an error:
arch/powerpc/platforms/powernv/opal.c:538:6: error: symbol 'pnv_platform_error_reboot' redeclared with different type (originally declared at arch/powerpc/platforms/powernv/powernv.h:11) - different modifiers
I checked and the function is already being considered as being 'noreturn'
by the compiler, thus, I understand this patch does not change any code
being generated.
Signed-off-by: Breno Leitao <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions