Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocxl: Make ocxl_remove() static

Fix sparse warning:

drivers/misc/ocxl/pci.c:44:6: warning:
symbol 'ocxl_remove' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

YueHaibing and committed by
Michael Ellerman
00b0cdbb d667edc0

+1 -1
+1 -1
drivers/misc/ocxl/pci.c
··· 41 41 return 0; 42 42 } 43 43 44 - void ocxl_remove(struct pci_dev *dev) 44 + static void ocxl_remove(struct pci_dev *dev) 45 45 { 46 46 struct ocxl_fn *fn; 47 47 struct ocxl_afu *afu;