aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorStafford Horne <[email protected]>2021-08-05 11:49:36 +0900
committerStafford Horne <[email protected]>2021-08-11 06:14:23 +0900
commit94effcedaa543825ad9c80831450d4fbfa284880 (patch)
treecf6db2706881fdb821b128bfe9d4cc089dfd2faa /net/lapb/lapb_timer.c
parent11648cbb7b335b7eb54e1ff973fb938939616f46 (diff)
openrisc: Fix compiler warnings in setup
This was pointed out with the recent name change of or32_early_setup to or1k_early_setup. Investigating the file I found a few other warnings so cleaning them up here. arch/openrisc/kernel/setup.c:220:13: warning: no previous prototype for 'or1k_early_setup' [-Wmissing-prototypes] 220 | void __init or1k_early_setup(void *fdt) | ^~~~~~~~~~~~~~~~ Fix this the missing or1k_early_setup prototype warning by adding an asm/setup.h file to define the prototype. arch/openrisc/kernel/setup.c:246:13: warning: no previous prototype for 'detect_unit_config' [-Wmissing-prototypes] 246 | void __init detect_unit_config(unsigned long upr, unsigned long mask, | ^~~~~~~~~~~~~~~~~~ The function detect_unit_config is not used, just remove it. arch/openrisc/kernel/setup.c:221: warning: Function parameter or member 'fdt' not described in 'or1k_early_setup' Add @fdt docs to the function comment to suppress this warning. Reported-by: kernel test robot <[email protected]> Signed-off-by: Stafford Horne <[email protected]> Reviewed-by: Randy Dunlap <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions