[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090428.043823.244762395.davem@davemloft.net>
Date: Tue, 28 Apr 2009 04:38:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: leoli@...escale.com
Cc: michael@...erman.id.au, akpm@...ux-foundation.org,
galak@...nel.crashing.org, mporter@...nel.crashing.org,
linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] rio: warn_unused_result warnings fix
From: Li Yang <leoli@...escale.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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists