summaryrefslogtreecommitdiff
path: root/drivers/md/dm-init.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-21 23:17:35 +0800
committerBjorn Helgaas <bhelgaas@google.com>2020-07-30 11:11:13 -0500
commit2e4770a5661a727be1ccb65ebc97baec3fa863a0 (patch)
treeb4c1358e416b78d87445a0f8686fe6acbd8c1e11 /drivers/md/dm-init.c
parent8a94644b440eef5a7b9c104ac8aa7a7f413e35e5 (diff)
downloadlwn-2e4770a5661a727be1ccb65ebc97baec3fa863a0.tar.gz
lwn-2e4770a5661a727be1ccb65ebc97baec3fa863a0.zip
PCI: rpadlpar: Make functions static
The sparse tool report build warnings as follows: drivers/pci/hotplug/rpadlpar_core.c:355:5: warning: symbol 'dlpar_remove_pci_slot' was not declared. Should it be static? drivers/pci/hotplug/rpadlpar_core.c:461:12: warning: symbol 'rpadlpar_io_init' was not declared. Should it be static? drivers/pci/hotplug/rpadlpar_core.c:473:6: warning: symbol 'rpadlpar_io_exit' was not declared. Should it be static? Those functions are not used outside of this file, so mark them static. Also mark rpadlpar_io_exit() as __exit. Link: https://lore.kernel.org/r/20200721151735.41181-1-weiyongjun1@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/md/dm-init.c')
0 files changed, 0 insertions, 0 deletions