]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ipmi: missing error code in try_smi_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 6 Mar 2018 09:58:03 +0000 (12:58 +0300)
committerCorey Minyard <cminyard@mvista.com>
Wed, 7 Mar 2018 01:47:52 +0000 (19:47 -0600)
commit532ed9264da27eb3062f49e4283f9b393a8e17d0
treead35bc290f893c052ab760ee0b91e1fa49be6c55
parente8824babad2d81fcff43e02f028cc437a3f99ce5
ipmi: missing error code in try_smi_init()

If platform_device_alloc() then we should return -ENOMEM instead of
returning success.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si_intf.c