diff options
| author | chongjiapeng <[email protected]> | 2021-09-06 09:48:43 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-09-08 11:33:04 +0000 |
| commit | 2169b908894df2ce83e7eb4a399d3224b2635126 (patch) | |
| tree | ceba49b7b8f903bbd541e57eb19b9f84365c011c /scripts/gcc-plugins/structleak_plugin.c | |
| parent | RDMA/bnxt_re: Prefer kcalloc over open coded arithmetic (diff) | |
| download | kernel-2169b908894df2ce83e7eb4a399d3224b2635126.tar.gz kernel-2169b908894df2ce83e7eb4a399d3224b2635126.zip | |
IB/hfi1: make hist static
This symbol is not used outside of trace.c, so marks it static.
Fix the following sparse warning:
drivers/infiniband/hw/hfi1/trace.c:491:23: warning: symbol 'hist' was not declared. Should it be static?
Link: https://lore.kernel.org/r/1630921723-21545-1-git-send-email-jiapeng.chong@linux.alibaba.com
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: chongjiapeng <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
