aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-05-05 20:50:43 +0800
committerAlexandre Belloni <[email protected]>2022-05-19 12:05:48 +0200
commitd3b43eb505bffb8e4cdf6800c15660c001553fe6 (patch)
tree255ab1ff29940c40a29ca1edfecea26e94d299b0 /include/linux/fpga/fpga-bridge.h
parente60e8a73235ce5d42a2891c6989e8df1c8888c4a (diff)
rtc: mt6397: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value. Fixes: fc2979118f3f ("rtc: mediatek: Add MT6397 RTC driver") Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions