diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-05 21:16:37 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-11-06 08:47:50 -0800 |
commit | df2ec7641bd03624a7e54cc926e8c3f75c7a84d8 (patch) | |
tree | 61062f8a0173a88d5da475b9d8d7ec4fd0163d65 /crypto | |
parent | e74540b285569d2b1e14fe7aee92297078f235ce (diff) | |
download | linux-df2ec7641bd03624a7e54cc926e8c3f75c7a84d8.tar.gz linux-df2ec7641bd03624a7e54cc926e8c3f75c7a84d8.tar.bz2 linux-df2ec7641bd03624a7e54cc926e8c3f75c7a84d8.zip |
mm/mmu_notifiers: use the right return code for WARN_ON
The return code from the op callback is actually in _ret, while the
WARN_ON was checking ret which causes it to misfire.
Link: http://lkml.kernel.org/r/20191025175502.GA31127@ziepe.ca
Fixes: 8402ce61bec2 ("mm/mmu_notifiers: check if mmu notifier callbacks are allowed to fail")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions