atm: solos-pci: make solos_bh() as static
Subsystems (3)
PATCH 1/1 atm: solos-pci: make solos_bh() as static
Quoted 1 line
From
6297aabeff748777b520cc0ee835af0a3ddc79e2Mon Sep 17 00:00:00 2001
From: Daeseok Youn <[email protected]>
Date: Wed, 19 Feb 2014 10:49:12 +0900
Subject: [PATCH] atm: solos-pci: make solos_bh() as static
sparse says:
drivers/atm/solos-pci.c:763:6: warning:
symbol 'solos_bh' was not declared. Should it be static?
--- drivers/atm/solos-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/atm/solos-pci.c +1 -1
@@ -760,7 +760,7 @@ static irqreturn_t solos_irq(int irq, void *dev_id)return IRQ_RETVAL (handled); } -void solos_bh (unsigned long card_arg) +static void solos_bh (unsigned long card_arg) {struct solos_card *card = (void *)card_arg;uint32_t card_flags;
Signature · 1 line
1.7.9.5
Quoted 20 lines · On Wed, 19 Feb 2014 14:13:54 +0900 Daeseok Youn <[email protected]> wrote:
Quoted 1 line
From
6297aabeff748777b520cc0ee835af0a3ddc79e2Mon Sep 17 00:00:00 2001From: Daeseok Youn <[email protected]>
Date: Wed, 19 Feb 2014 10:49:12 +0900
Subject: [PATCH] atm: solos-pci: makesolos_bh()as staticsparse says:
drivers/atm/solos-pci.c:763:6: warning:
symbol 'solos_bh' was not declared. Should it be static?Signed-off-by Daeseok Youn <[email protected]>--- drivers/atm/solos-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/atm/solos-pci.c +0
-0
drivers/atm/solos-pci.c static irqreturn_t solos_irq(int irq, void *dev_id) · line 766
Quoted 8 lines
drivers/atm/solos-pci.c +1
-1@@ -760,7 +760,7 @@ static irqreturn_t solos_irq(int irq, void *dev_id)return IRQ_RETVAL (handled); } -void solos_bh (unsigned long card_arg) +static void solos_bh (unsigned long card_arg) {struct solos_card *card = (void *)card_arg;uint32_t card_flags;
From: Daeseok Youn <[email protected]>
Date: Wed, 19 Feb 2014 14:13:54 +0900
Quoted 11 lines
From
6297aabeff748777b520cc0ee835af0a3ddc79e2Mon Sep 17 00:00:00 2001
From: Daeseok Youn <[email protected]>
Date: Wed, 19 Feb 2014 10:49:12 +0900
Subject: [PATCH] atm: solos-pci: makesolos_bh()as staticsparse says:
drivers/atm/solos-pci.c:763:6: warning:
symbol 'solos_bh' was not declared. Should it be static?Signed-off-by Daeseok Youn <[email protected]>
Applied.