On Tue, Mar 6, 2018 at 11:40 AM, Dan Carpenter <dan.carpen...@oracle.com> wrote:
> If platform_device_alloc() fails, then we should return -ENOMEM instead
> of returning success.  I've also removed the "rv" initialization so that
> GCC can maybe detect if we forget to set it in the future.
> Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>
> ---
> v2: Don't initialize "rv" and fix a typo in the commit message

This addresses my comment, so

Acked-by: Arnd Bergmann <a...@arndb.de>

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Openipmi-developer mailing list

Reply via email to