diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2019-03-19 11:10:09 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-27 15:25:50 -0300 |
| commit | e95e52a1788d4a8af547261875c0fbae2e6e3028 (patch) | |
| tree | 58764989978dcf14d1a0c3c456a660bff1ef3cdd /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | overflow: Fix -Wtype-limits compilation warnings (diff) | |
| download | linux-e95e52a1788d4a8af547261875c0fbae2e6e3028.tar.gz linux-e95e52a1788d4a8af547261875c0fbae2e6e3028.zip | |
RDMA/hns: Limit scope of hns_roce_cmq_send()
The forgotten static keyword causes to the following error to appear while
building HNS driver. Declare hns_roce_cmq_send() to be static function to
fix this warning.
drivers/infiniband/hw/hns/hns_roce_hw_v2.c:1089:5: warning: no previous
prototype for _hns_roce_cmq_send_ [-Wmissing-prototypes]
int hns_roce_cmq_send(struct hns_roce_dev *hr_dev,
Fixes: 6a04aed6afae ("RDMA/hns: Fix the chip hanging caused by sending mailbox&CMQ during reset")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
