]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipmi: Edit ambiguous error message for unknown command
authorAtish Patra <atish.patra@oracle.com>
Tue, 30 May 2017 17:57:31 +0000 (11:57 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 07:30:08 +0000 (00:30 -0700)
commit3642ac2e1e1526bef56586047e5fe68daeacfd97
tree0fc492b7643f485e249c44ebbf3f8bcb91281b52
parent765000865a04089c5f33c752c772163dc6dec20e
ipmi: Edit ambiguous error message for unknown command

IPMI SI interfaces issues clear flag command irrespective
of underlying physical interface. In case the platform does
not recognize this command, it returns correct response
unknown command (0xc1). However, SI interface prints this
as if it is an error, and this leads to ambiguity. This should
only be an info message in case of unknown command and a warning
if platform returns some other error response.

Edit the message to clear the ambiguity.

Orabug: 25461958

Signed-off-by: Atish Patra <atish.patra@oracle.com>
Reviewed-by: Rob Gardner <rob.gardner@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Reviewed-by: Dave Kleikamp <dave.kleikamp@oracle.com>
(cherry picked from commit 0f6bfff7803dacb7ebfd765d6a2beb54e018698a)

Conflicts:

drivers/char/ipmi/ipmi_si_intf.c
drivers/char/ipmi/ipmi_si_intf.c