diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-07-28 01:12:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-28 13:15:01 +0200 |
commit | b0e02550346e676e104a47d1f050dc21d46cd35d (patch) | |
tree | d068049b1eecccc0c00429d1ef05517c427fb96b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ca6377900974c3e22c379c48057aac51139d29fc (diff) |
xhci: dbc: Make function xhci_dbc_ring_alloc() static
The sparse tool complains as follows:
drivers/usb/host/xhci-dbgcap.c:422:18: warning:
symbol 'xhci_dbc_ring_alloc' was not declared. Should it be static?
This function is not used outside ofxhci-dbgcap.c, so this commit
marks it static.
Fixes: ac286428c69f ("xhci: dbc: don't use generic xhci ring allocation functions for dbc.")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200727171207.3101-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions