[PATCH] rio: warn_unused_result warnings fix

David Miller davem at davemloft.net
Tue Apr 28 21:38:23 EST 2009


From: Li Yang <leoli at freescale.com>
Date: Tue, 28 Apr 2009 19:08:13 +0800

> IMHO, when device_add() fails the system is quite broken.  So the
> value is very limited for it to fail cleanly, which need some effort
> to implement.  I can add it if you insist.

I disagree.

For the cases where device_add() fails (duplicate name, for
example) the device layer already is emitting warnings.

You're just adding more log messages for the user to sift
through, and likely not adding any new information.



More information about the Linuxppc-dev mailing list