aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorPaul Walmsley <[email protected]>2019-10-17 22:08:48 +0000
committerPaul Walmsley <[email protected]>2019-10-28 07:46:01 +0000
commitbf6df5dd25b74400424f3ff5a61edad2fd6904e6 (patch)
tree48f6f863b4d40e54f9d47b9a85aa0b687bb7c82b /drivers/usb/cdns3/cdns3-ti.c
parentriscv: init: merge split string literals in preprocessor directive (diff)
downloadkernel-bf6df5dd25b74400424f3ff5a61edad2fd6904e6.tar.gz
kernel-bf6df5dd25b74400424f3ff5a61edad2fd6904e6.zip
riscv: mark some code and data as file-static
Several functions and arrays which are only used in the files in which they are declared are missing "static" qualifiers. Warnings for these symbols are reported by sparse: arch/riscv/kernel/vdso.c:28:18: warning: symbol 'vdso_data' was not declared. Should it be static? arch/riscv/mm/sifive_l2_cache.c:145:12: warning: symbol 'sifive_l2_init' was not declared. Should it be static? Resolve these warnings by marking them as static. This version incorporates feedback from Greentime Hu <[email protected]>. Signed-off-by: Paul Walmsley <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Cc: Greentime Hu <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions