diff options
author | Chen Jiahao <chenjiahao16@huawei.com> | 2023-07-26 13:17:59 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-07-26 21:17:19 +0300 |
commit | 4b49df654cd0d1c3c359fc0f52182943a650b746 (patch) | |
tree | 6fec7c9445d26332a7e5b6322c9e32f306520f5f /net/Kconfig.debug | |
parent | b9080468caeddc58a91edd1c3a7d212ea82b0d1d (diff) | |
download | linux-4b49df654cd0d1c3c359fc0f52182943a650b746.tar.xz |
samples/hw_breakpoint: mark sample_hbp as static
There is a sparse warning shown as below:
samples/hw_breakpoint/data_breakpoint.c:24:19: warning:
symbol 'sample_hbp' was not declared. Should it be static?
Since 'sample_hbp' is only called within data_breakpoint.c,
mark it as static to fix the warning.
Fixes: 44ee63587dce ("percpu: Add __percpu sparse annotations to hw_breakpoint")
Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'net/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions