diff options
author | Erez Shitrit <erezsh@mellanox.com> | 2017-07-13 14:29:08 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2017-07-23 10:52:00 +0300 |
commit | 5dc78ad1904db597bdb4427f3ead437aae86f54c (patch) | |
tree | fad5bec2f1964683798e90535610e4a55823632b /drivers/nfc/nfcsim.c | |
parent | b287b76e89503ef1d403cc5cc8bd74b035d25bfa (diff) | |
download | linux-5dc78ad1904db597bdb4427f3ead437aae86f54c.tar.gz linux-5dc78ad1904db597bdb4427f3ead437aae86f54c.tar.bz2 linux-5dc78ad1904db597bdb4427f3ead437aae86f54c.zip |
IB/ipoib: Notify on modify QP failure only when relevant
Modify QP can fail and it can be acceptable, like when moving from RST to
ERR state, all the rest are not acceptable and a message to the log
should be printed.
The current code prints on all failures and many messages like:
"Failed to modify QP to ERROR state" appear, even when supported by the
state machine of the QP object.
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/nfc/nfcsim.c')
0 files changed, 0 insertions, 0 deletions