diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 22:35:49 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-05-18 21:56:19 +0300 |
commit | 454a348714954f7b626c027a90c3967278e3f93b (patch) | |
tree | fd4723fb25039121f7a61073beaa191d791cb975 /scripts/gdb/linux/utils.py | |
parent | 4d312ac057da57b4a844ec8af14236e74b652efe (diff) | |
download | linux-454a348714954f7b626c027a90c3967278e3f93b.tar.xz |
x86/platform: Avoid missing-prototype warnings for OLPC
There are two functions in the olpc platform that have no prototype:
arch/x86/platform/olpc/olpc_dt.c:237:13: error: no previous prototype for 'olpc_dt_fixup' [-Werror=missing-prototypes]
arch/x86/platform/olpc/olpc-xo1-pm.c:73:26: error: no previous prototype for 'xo1_do_sleep' [-Werror=missing-prototypes]
The first one should just be marked 'static' as there are no other
callers, while the second one is called from assembler and is
just a false-positive warning that can be silenced by adding a
prototype.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://lore.kernel.org/all/20230516193549.544673-21-arnd%40kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions