diff options
author | Antonio Quartulli <antonio@mandelbit.com> | 2025-07-21 22:38:21 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-07-25 10:20:36 +0200 |
commit | 672820a070ea5e6ae114f6109726a4e18313a527 (patch) | |
tree | 5b365b70c109947fbd6c5886bbade61a5463e898 /lib/crypto/mpi/mpi-add.c | |
parent | dc3977856443e336ed2ba82a2e2e5514244c82e7 (diff) |
ovl: properly print correct variable
In case of ovl_lookup_temp() failure, we currently print `err`
which is actually not initialized at all.
Instead, properly print PTR_ERR(whiteout) which is where the
actual error really is.
Address-Coverity-ID: 1647983 ("Uninitialized variables (UNINIT)")
Fixes: 8afa0a7367138 ("ovl: narrow locking in ovl_whiteout()")
Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
Link: https://lore.kernel.org/20250721203821.7812-1-antonio@mandelbit.com
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions