diff options
| author | Ethan Tidmore <ethantidmore06@gmail.com> | 2026-02-13 22:45:31 -0600 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:32 -0500 |
| commit | 89f3d2d5413514037f1e285f4bcfcf622b5b667e (patch) | |
| tree | 7e809c84c9e394f8c4cca467d12a9a7ee4c39ed5 /include/net/aligned_data.h | |
| parent | 7c9ce68192eef14c777cb6ce17155d2eb2431aea (diff) | |
gpio: nomadik: Add missing IS_ERR() check
[ Upstream commit 58433885ee99e8c96757e82ccf6d50646c4dfe09 ]
The function gpio_device_get_desc() can return an error pointer and is
not checked for one. Add check for error pointer.
Fixes: ddeb66d2cb10f ("gpio: nomadik: don't print out global GPIO numbers in debugfs callbacks")
Cc: stable@vger.kernel.org
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260214044531.43539-1-ethantidmore06@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
