summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-03-09 00:04:11 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-04 09:15:22 +0200
commit464f7643bbcfb383a3a5436c58eb5c512e791c51 (patch)
tree79ce4844000713c9333109e26b570657cfb0d215 /Makefile
parentfd76b2d5045f0a23e4fa2199500af326e5a1081c (diff)
leds: pca9532: fix a potential NULL pointer dereference
[ Upstream commit 0aab8e4df4702b31314a27ec4b0631dfad0fae0a ] In case of_match_device cannot find a match, return -EINVAL to avoid NULL pointer dereference. Fixes: fa4191a609f2 ("leds: pca9532: Add device tree support") Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions