[PATCH] ipmi: kcs: Fix aspeed_kcs_probe_of_v1()
andrew at aj.id.au
Wed Apr 8 09:36:25 AEST 2020
On Wed, 8 Apr 2020, at 08:48, Joel Stanley wrote:
> On Tue, 7 Apr 2020 at 12:22, Dan Carpenter <dan.carpenter at oracle.com> wrote:
> > 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 at oracle.com>
> Thanks for the fix Dan.
> Andrew, I think this means no one has used the v1 bindings in
> mainline, so could remove that code?
No, rather Dan's on the ball and it seems I was a bit lax with my testing
of the patch. I pinged Corey only the other day regarding the patches;
he had been busy and as such hadn't merged them.
I have a series to convert our devicetrees over to v2. Now that Corey's
taken the patches I can send that and we can get away from v1.
Thanks for the fix Dan.
Acked-by: Andrew Jeffery <andrew at aj.id.au>
More information about the Linux-aspeed