Re: [PATCH] rio: warn_unused_result warnings fix

From: David Miller
Date: Tue Apr 28 2009 - 07:38:42 EST


From: Li Yang <leoli@xxxxxxxxxxxxx>
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.
--
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/