Revision 8c89ecf5c13b0504018c5045896a0b78d5d811e6 authored by Alexander Potapenko on 11 January 2023, 10:50:12 UTC, committed by Alexander Potapenko on 07 February 2023, 09:50:25 UTC
When building the kernel with W=1, the compiler reports numerous warnings about the missing prototypes for KMSAN instrumentation hooks. Because these functions are not supposed to be called explicitly by the kernel code (calls to them are emitted by the compiler), they do not have to be declared in the headers. Instead, we add forward declarations right before the definitions to silence the warnings produced by -Wmissing-prototypes. Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/lkml/202301020356.dFruA4I5-lkp@intel.com/T/ Reported-by: Vlastimil Babka <vbabka@suse.cz> Suggested-by: Marco Elver <elver@google.com> Signed-off-by: Alexander Potapenko <glider@google.com>
1 parent 8b0ffea
File | Mode | Size |
---|---|---|
platform | ||
acbuffer.h | -rw-r--r-- | 8.9 KB |
acconfig.h | -rw-r--r-- | 7.5 KB |
acexcep.h | -rw-r--r-- | 16.9 KB |
acnames.h | -rw-r--r-- | 2.2 KB |
acoutput.h | -rw-r--r-- | 16.4 KB |
acpi.h | -rw-r--r-- | 1.3 KB |
acpi_bus.h | -rw-r--r-- | 22.6 KB |
acpi_drivers.h | -rw-r--r-- | 2.6 KB |
acpi_io.h | -rw-r--r-- | 723 bytes |
acpi_lpat.h | -rw-r--r-- | 1.2 KB |
acpi_numa.h | -rw-r--r-- | 944 bytes |
acpiosxf.h | -rw-r--r-- | 11.3 KB |
acpixf.h | -rw-r--r-- | 31.1 KB |
acrestyp.h | -rw-r--r-- | 19.0 KB |
actbl.h | -rw-r--r-- | 18.3 KB |
actbl1.h | -rw-r--r-- | 46.5 KB |
actbl2.h | -rw-r--r-- | 72.4 KB |
actbl3.h | -rw-r--r-- | 22.0 KB |
actypes.h | -rw-r--r-- | 42.2 KB |
acuuid.h | -rw-r--r-- | 3.6 KB |
apei.h | -rw-r--r-- | 1.4 KB |
battery.h | -rw-r--r-- | 658 bytes |
button.h | -rw-r--r-- | 401 bytes |
cppc_acpi.h | -rw-r--r-- | 4.6 KB |
ghes.h | -rw-r--r-- | 3.4 KB |
hed.h | -rw-r--r-- | 370 bytes |
nfit.h | -rw-r--r-- | 351 bytes |
pcc.h | -rw-r--r-- | 807 bytes |
pdc_intel.h | -rw-r--r-- | 1.0 KB |
processor.h | -rw-r--r-- | 12.1 KB |
reboot.h | -rw-r--r-- | 201 bytes |
video.h | -rw-r--r-- | 3.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...