diff options
author | Marc Dionne <marc.dionne@auristor.com> | 2023-04-21 17:16:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-23 13:38:28 +0100 |
commit | fadfc57cc8047080a123b16f288b7138524fb1e2 (patch) | |
tree | 97242c199969950d5ce4c0764af27fc32d950df3 /block/bsg.c | |
parent | b148b9abc8444c9e0579a6bbe47b2da6adf5a150 (diff) |
rxrpc: Fix error when reading rxrpc tokens
When converting from ASSERTCMP to WARN_ON, the tested condition must
be inverted, which was missed for this case.
This would cause an EIO error when trying to read an rxrpc token, for
instance when trying to display tokens with AuriStor's "tokens" command.
Fixes: 84924aac08a4 ("rxrpc: Fix checker warning")
Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: "David S. Miller" <davem@davemloft.net>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: linux-afs@lists.infradead.org
cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions