]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 06:09:44 +0000 (15:09 +0900)
commit23d16fd8b45e94ed4298af15f2bcf4a629fee78d
tree86dc5acf55cdcce62029c64ac01dc8527ea35e2a
parent09734e3d19ac65457f8e7ce4187f8768fd3667ff
net/ncsi: Don't return error on normal response

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>
net/ncsi/ncsi-rsp.c