diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-09 05:07:57 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-03-22 16:48:39 +0100 |
commit | 7ecced0934e574b528a1ba6c237731e682216a74 (patch) | |
tree | 21090e6781fdea12fceb2d6880ce79588f09f554 /drivers/iommu/qcom_iommu.c | |
parent | Linux 5.1-rc1 (diff) | |
download | linux-7ecced0934e574b528a1ba6c237731e682216a74.tar.xz linux-7ecced0934e574b528a1ba6c237731e682216a74.zip |
gpio: exar: add a check for the return value of ida_simple_get fails
ida_simple_get may fail and return a negative error number.
The fix checks its return value; if it fails, go to err_destroy.
Cc: <stable@vger.kernel.org>
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/iommu/qcom_iommu.c')
0 files changed, 0 insertions, 0 deletions