commit | e96387677c2a4a35a0c8b16cd517696a04050062 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Apr 07 15:21:49 2020 +0300 |
committer | Corey Minyard <cminyard@mvista.com> | Tue Apr 07 08:35:40 2020 -0500 |
tree | 067731fcc2a31f55f131fb291bb74dbf63598878 | |
parent | 562bf7705885855ed8ed5483895ddff509acae7c [diff] |
ipmi: kcs: Fix aspeed_kcs_probe_of_v1() This needs to return the newly allocated struct but instead it returns zero which leads to an immediate Oops in the caller. Fixes: 09f5f680707e ("ipmi: kcs: aspeed: Implement v2 bindings") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Message-Id: <20200407122149.GA100026@mwanda> Signed-off-by: Corey Minyard <cminyard@mvista.com>