Messages in this thread | | | Date | Fri, 21 Sep 2012 13:49:26 -0400 (EDT) | Subject | Re: [PATCH] mISDN: suppress compiler warning | From | David Miller <> |
| |
From: Paul Bolle <pebolle@tiscali.nl> Date: Fri, 21 Sep 2012 12:25:24 +0200
> Building the hfcpci driver triggers this GCC warning: > drivers/isdn/hardware/mISDN/hfcpci.c:2298:2: warning: ignoring return value of 'driver_for_each_device', declared with attribute warn_unused_result [-Wunused-result] > > That return value is apparently ignored because _hfcpci_softirq() will > always return 0. Suppress this warning in the way a few other drivers do > that too. > > Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
This is pretty pointless and I'm therefore not applying it.
| |