[Skiboot] [PATCH] phb4: make retry_whitelist static

Stewart Smith stewart at linux.vnet.ibm.com
Thu Sep 28 16:40:15 AEST 2017


Silences sparse warning:
hw/phb4.c:XX:20: warning: symbol 'retry_whitelist' was not declared. Should it be static?

Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 hw/phb4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/phb4.c b/hw/phb4.c
index e929b1504e31..8cfe61e9ffea 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2432,7 +2432,7 @@ struct pci_card_id {
 	uint16_t device;
 };
 
-struct pci_card_id retry_whitelist[] = {
+static struct pci_card_id retry_whitelist[] = {
 	{ 0x1000, 0x005d }, /* LSI Logic MegaRAID SAS-3 3108 */
 	{ 0x1000, 0x00c9 }, /* LSI MPT SAS-3 */
 	{ 0x104c, 0x8241 }, /* TI xHCI USB */
-- 
2.13.5



More information about the Skiboot mailing list