diff options
| author | Mathieu Malaterre <[email protected]> | 2018-04-23 21:36:38 +0200 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-05-25 12:04:39 +1000 |
| commit | 85aa4b98419d74dd5cc914e089349800ac4997ee (patch) | |
| tree | 0db5b989dd6ba71eb94741a12bfe8b92c3a095a8 /tools/perf/scripts/python | |
| parent | d8731527acee53b4d46d59ff0b5fc36931ad0451 (diff) | |
powerpc/mm/radix: Use do/while(0) trick for single statement block
In commit 7a22d6321c3d ("powerpc/mm/radix: Update command line parsing for
disable_radix") an `if` statement was added for a possible empty body
(prom_debug).
Fix the following warning, treated as error with W=1:
arch/powerpc/kernel/prom_init.c:656:46: error: suggest braces around empty body in an ‘if’ statement [-Werror=empty-body]
Suggested-by: Randy Dunlap <[email protected]>
Signed-off-by: Mathieu Malaterre <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions