linux/samples/hw_breakpoint
Chen Jiahao 4b49df654c 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: 44ee63587d ("percpu: Add __percpu sparse annotations to hw_breakpoint")
Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
2023-07-26 11:17:19 -07:00
..
data_breakpoint.c samples/hw_breakpoint: mark sample_hbp as static 2023-07-26 11:17:19 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00