summaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-div.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-07-04 09:25:59 -0400
committerJon Mason <jdmason@kudzu.us>2022-08-09 17:54:43 -0400
commitae9f38adac261e4ca83559c7df21b18dd66aa986 (patch)
tree14de724977fa4a3e25e8ad561e3dc01beb7fdca8 /lib/mpi/mpi-div.c
parent8e4bfbe644a6b804a72fd4575d89507a6e1d9476 (diff)
downloadlinux-ae9f38adac261e4ca83559c7df21b18dd66aa986.tar.bz2
PCI: endpoint: pci-epf-vntb: reduce several globals to statics
sparse reports drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: symbol 'pci_read' was not declared. Should it be static? drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: symbol 'pci_write' was not declared. Should it be static? drivers/pci/endpoint/functions/pci-epf-vntb.c:989:16: warning: symbol 'vpci_ops' was not declared. Should it be static? These functions and variables are only used in pci-epf-vntb.c, so their storage class specifiers should be static. Fixes: ff32fac00d97 ("NTB: EPF: support NTB transfer between PCI RC and EP connection") Signed-off-by: Tom Rix <trix@redhat.com> Acked-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions