mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
gpio: nomadik: Add missing IS_ERR() check
[ Upstream commit58433885ee] The function gpio_device_get_desc() can return an error pointer and is not checked for one. Add check for error pointer. Fixes:ddeb66d2cb("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>
This commit is contained in:
parent
7c9ce68192
commit
89f3d2d541
1 changed files with 3 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue