summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2021-12-20 11:38:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-27 13:03:49 +0300
commit4849eca4fc6fc35fdf3e667110fd8156fe77f90a (patch)
tree0f8b7e9badd541435238b643ed8b72d0d419aab1 /Documentation
parenta3b31433147bc793d2adccccecde804ec8e17a57 (diff)
downloadlinux-4849eca4fc6fc35fdf3e667110fd8156fe77f90a.tar.xz
power: reset: mt6397: Check for null res pointer
[ Upstream commit 1c1348bf056dee665760a3bd1cd30b0be7554fc2 ] The return value of platform_get_resource() needs to be checked. To avoid use of error pointer in case that there is no suitable resource. Fixes: d28c74c10751 ("power: reset: add driver for mt6323 poweroff") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions