aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2023-07-04 19:01:44 +0000
committerJohn Paul Adrian Glaubitz <[email protected]>2023-07-05 17:04:51 +0000
commit7497840d462c8f54c4888c22ab3726a8cde4b9a2 (patch)
tree7233034329249906f8fd473bdfc0d8932e072ede /scripts/clang-tools/gen_compile_commands.py
parentsh: dma: Correct the number of DMA channels for SH7709 (diff)
downloadkernel-7497840d462c8f54c4888c22ab3726a8cde4b9a2.tar.gz
kernel-7497840d462c8f54c4888c22ab3726a8cde4b9a2.zip
sh: Provide unxlate_dev_mem_ptr() in asm/io.h
The unxlate_dev_mem_ptr() function has no prototype on the sh architecture which does not include asm-generic/io.h. This results in the following build failure: drivers/char/mem.c: In function 'read_mem': drivers/char/mem.c:164:25: error: implicit declaration of function 'unxlate_dev_mem_ptr' This compile error is now seen because commit 99b619b37ae1 ("mips: provide unxlate_dev_mem_ptr() in asm/io.h") removed the weak function which was previously in place to handle this problem. Add a trivial macro to the sh header to provide the now missing dummy function. Fixes: 99b619b37ae1 ("mips: provide unxlate_dev_mem_ptr() in asm/io.h") Cc: Arnd Bergmann <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions