diff options
author | Eli Cohen <elic@nvidia.com> | 2022-08-11 16:40:10 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-11 17:00:36 +0300 |
commit | 93e530d2a1c4c0fcce45e01ae6c5c6287a08d3e3 (patch) | |
tree | 379db2156a85d2bc57500fca8e5ed6260d7b0c23 /drivers/hid/hid-accutouch.c | |
parent | 4a44a5eda245453ed7bd14239c596262cb53b665 (diff) | |
download | linux-93e530d2a1c4c0fcce45e01ae6c5c6287a08d3e3.tar.xz |
vdpa/mlx5: Fix possible uninitialized return value
Initialize err local variable to return -EAGAIN if the asid cannot be
found thus avoiding returning uninitialized value.
Fixes: 8fcd20c30704 ("vdpa/mlx5: Support different address spaces for control and data")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Cohen <elic@nvidia.com>
Message-Id: <20220811134010.952291-1-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/hid/hid-accutouch.c')
0 files changed, 0 insertions, 0 deletions