Re: [PATCH] mISDN: suppress compiler warning

From: David Miller
Date: Fri Sep 21 2012 - 13:49:32 EST


From: Paul Bolle <pebolle@xxxxxxxxxx>
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@xxxxxxxxxx>

This is pretty pointless and I'm therefore not applying it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/