Skip to contentSkip to conversation

isdn: hfcpci_softirq: get func return to suppress compiler warning

PATCH Applied Antonio Alecrim Jr 2 participants 2 messages Sep 14, 2013 – Sep 16, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 isdn: hfcpci_softirq: get func return to suppress compiler warning

---
 drivers/isdn/hardware/mISDN/hfcpci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/isdn/hardware/mISDN/hfcpci.c +2 -2
index 7f910c7..3c92780 100644
@@ -2295,8 +2295,8 @@ _hfcpci_softirq(struct device *dev, void *arg)
 static void
 hfcpci_softirq(void *arg)
 {
-	(void) driver_for_each_device(&hfc_driver.driver, NULL, arg,
-				      _hfcpci_softirq);
+	WARN_ON_ONCE(driver_for_each_device(&hfc_driver.driver, NULL, arg,
+				      _hfcpci_softirq) != 0);
 
 	/* if next event would be in the past ... */
 	if ((s32)(hfc_jiffies + tics - jiffies) <= 0)
Signature · 1 line
1.8.3.1