]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/ncsi: Don't return error on normal response
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 8 Nov 2017 05:30:45 +0000 (16:30 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Apr 2021 09:57:51 +0000 (11:57 +0200)
commit32e0a805c060b38ca4665bd91ff32ce34433f66f
treea60f71c76161fe620ceeb285eda5bf815dae5fa4
parentf013e2b4c8c66e38e2417e8e2b03a54fdf26437b
net/ncsi: Don't return error on normal response

commit 04bad8bda9e25afe676a6f4452f3b304c1fdea16 upstream.

Several response handlers return EBUSY if the data corresponding to the
command/response pair is already set. There is no reason to return an
error here; the channel is advertising something as enabled because we
told it to enable it, and it's possible that the feature has been
enabled previously.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ncsi/ncsi-rsp.c