diff options
author | Arnd Bergmann <[email protected]> | 2023-05-16 22:14:08 +0200 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-06-07 13:30:21 -0700 |
commit | 9e46e541cf19fffbbbd9c6ef393446e7d5ef8c39 (patch) | |
tree | 5d12c5595e8183f2d9fe374043c672897fd6e610 /scripts/bpf_doc.py | |
parent | 2d5153526f929838b0912ded26862840f72745f4 (diff) |
testing: nvdimm: add missing prototypes for wrapped functions
The nvdimm test wraps a number of API functions, but these functions
don't have a prototype in a header because they are all called
by a different name:
drivers/nvdimm/../../tools/testing/nvdimm/test/iomap.c:74:15: error: no previous prototype for '__wrap_devm_ioremap' [-Werror=missing-prototypes]
74 | void __iomem *__wrap_devm_ioremap(struct device *dev,
| ^~~~~~~~~~~~~~~~~~~
drivers/nvdimm/../../tools/testing/nvdimm/test/iomap.c:86:7: error: no previous prototype for '__wrap_devm_memremap' [-Werror=missing-prototypes]
86 | void *__wrap_devm_memremap(struct device *dev, resource_size_t offset,
| ^~~~~~~~~~~~~~~~~~~~
...
Add prototypes to avoid the warning.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions