diff options
| author | Dan Williams <[email protected]> | 2024-01-16 21:17:23 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2024-01-22 18:41:59 +0000 |
| commit | c97dac57c804b53eab492ca0230d86356729d633 (patch) | |
| tree | 638a6997bfef9f66126a8718fad1a150f49c38ee /drivers/acpi/cppc_acpi.c | |
| parent | tools/testing/cxl: Disable "missing prototypes / declarations" warnings (diff) | |
| download | kernel-c97dac57c804b53eab492ca0230d86356729d633.tar.gz kernel-c97dac57c804b53eab492ca0230d86356729d633.zip | |
tools/testing/nvdimm: Disable "missing prototypes / declarations" warnings
Prevent warnings of the form:
tools/testing/nvdimm/config_check.c:4:6: error: no previous prototype
for ‘check’ [-Werror=missing-prototypes]
...by locally disabling some warnings.
It turns out that:
Commit 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally")
...in addition to expanding in-tree coverage, also impacts out-of-tree
module builds like those in tools/testing/nvdimm/.
Filter out the warning options on unit test code that does not effect
mainline builds.
Reviewed-by: Alison Schofield <[email protected]>
Link: https://lore.kernel.org/r/170543984331.460832.1780246477583036191.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
