diff options
author | Patrisious Haddad <phaddad@nvidia.com> | 2020-12-30 14:02:40 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-01-18 21:02:14 +0100 |
commit | 33eb12f2966ef9c529ce7138711a9c150a17931e (patch) | |
tree | 9c11432e0795dcc649c11356d687705c603b3e04 /kernel/user.c | |
parent | RDMA/rtrs: Fix KASAN: stack-out-of-bounds bug (diff) | |
download | linux-33eb12f2966ef9c529ce7138711a9c150a17931e.tar.xz linux-33eb12f2966ef9c529ce7138711a9c150a17931e.zip |
RDMA/nldev: Return an error message on failure to turn auto mode
The bounded counter can't be reconfigured to be in auto mode, in attempt
to do it, the user will get an error, but without any hint why. Update
nldev interface to return an error message through extack mechanism.
Link: https://lore.kernel.org/r/20201230130240.180737-1-leon@kernel.org
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions