diff options
| author | Paul Walmsley <[email protected]> | 2019-10-17 21:45:58 +0000 |
|---|---|---|
| committer | Paul Walmsley <[email protected]> | 2019-10-28 07:46:01 +0000 |
| commit | 6a527b6785ba1d19d6338439352de6c21e8847c3 (patch) | |
| tree | 71ed7254eaf86ccd416a00d670c41d2541f96b56 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | riscv: add prototypes for assembly language functions from head.S (diff) | |
| download | kernel-6a527b6785ba1d19d6338439352de6c21e8847c3.tar.gz kernel-6a527b6785ba1d19d6338439352de6c21e8847c3.zip | |
riscv: init: merge split string literals in preprocessor directive
sparse complains loudly when string literals associated with
preprocessor directives are split into multiple, separately quoted
strings across different lines:
arch/riscv/mm/init.c:341:9: error: Expected ; at the end of type declaration
arch/riscv/mm/init.c:341:9: error: got "not use absolute addressing."
arch/riscv/mm/init.c:358:9: error: Trying to use reserved word 'do' as identifier
arch/riscv/mm/init.c:358:9: error: Expected ; at end of declaration
[ ... ]
It turns out this doesn't compile. The existing Linux practice for
this situation is simply to use a single long line. So, fix by
concatenating the strings.
This patch should have no functional impact.
This version incorporates changes based on feedback from Luc Van
Oostenryck <[email protected]>.
Signed-off-by: Paul Walmsley <[email protected]>
Reviewed-by: Luc Van Oostenryck <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/linux-riscv/CAAhSdy2nX2LwEEAZuMtW_ByGTkHO6KaUEvVxRnba_ENEjmFayQ@mail.gmail.com/T/#mc1a58bc864f71278123d19a7abc083a9c8e37033
Fixes: 387181dcdb6c1 ("RISC-V: Always compile mm/init.c with cmodel=medany and notrace")
Cc: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
