Centos-kernel-stream-9/tools/testing/nvdimm
Jeff Moyer b98d19d048 tools/testing/nvdimm: Disable "missing prototypes / declarations" warnings
JIRA: https://issues.redhat.com/browse/RHEL-23824

commit c97dac57c804b53eab492ca0230d86356729d633
Author: Dan Williams <dan.j.williams@intel.com>
Date:   Tue Jan 16 13:17:23 2024 -0800

    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 <alison.schofield@intel.com>
    Link: https://lore.kernel.org/r/170543984331.460832.1780246477583036191.stgit@dwillia2-xfh.jf.intel.com
    Signed-off-by: Dan Williams <dan.j.williams@intel.com>

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
2024-07-26 14:57:29 -04:00
..
test tools/testing/nvdimm: Add compile-test coverage for ndtest 2024-07-26 14:57:29 -04:00
Kbuild tools/testing/nvdimm: Disable "missing prototypes / declarations" warnings 2024-07-26 14:57:29 -04:00
Makefile
acpi_nfit_test.c
config_check.c nvdimm/blk: Delete the block-aperture window driver 2023-03-14 10:55:06 -04:00
dax-dev.c
dax_pmem_compat_test.c
dax_pmem_core_test.c
dax_pmem_test.c
device_dax_test.c
libnvdimm_test.c
pmem-dax.c dax: introduce DAX_RECOVERY_WRITE dax access mode 2023-03-14 10:55:13 -04:00
pmem_test.c
watermark.h