Re: [PATCH] tc: account for device_register() failure

From: Levente Kurusa
Date: Tue Apr 01 2014 - 09:03:52 EST


Hi,

2014-04-01 2:30 GMT+02:00 Maciej W. Rozycki <macro@xxxxxxxxxxxxxx>:
> On Fri, 15 Nov 2013, Levente Kurusa wrote:
>
>> This patch makes the TURBOchannel driver bail out if the call
>> to device_register() failed.
>>
>> Signed-off-by: Levente Kurusa <levex@xxxxxxxxx>
>
> Acked-by: Maciej W. Rozycki <macro@xxxxxxxxxxxxxx>
>
> This fixes some build warnings:
>
> drivers/tc/tc.c: In function 'tc_bus_add_devices':
> drivers/tc/tc.c:132: warning: ignoring return value of 'device_register',
> declared with attribute warn_unused_result
> drivers/tc/tc.c: In function 'tc_init':
> drivers/tc/tc.c:151: warning: ignoring return value of 'device_register',
> declared with attribute warn_unused_result
>
> Levente, thanks for your fix and apologies for the long RTT -- can you
> please resend your patch to <linux-mips@xxxxxxxxxxxxxx> and Ralf so that
> it'll be pulled via the MIPS tree? I'll post a follow-up update to fix
> some issues with `tc_init' that I noticed thanks to your change.

Sure, I will repost in a few hours, I just need to get home.
Thanks for the Ack!

> [...]

--
Regards,
Levente Kurusa
--
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/