Commit 810dc90f authored by Miles Chen's avatar Miles Chen Committed by sanglipeng
Browse files

cpufreq: armada-37xx: stop using 0 as NULL pointer

stable inclusion
from stable-v5.10.166
commit 00f23016118781f85d7ffda2dccf9a43de6f1c98
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I87FRA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=00f23016118781f85d7ffda2dccf9a43de6f1c98



--------------------------------

[ Upstream commit 08f0adb1 ]

Use NULL for NULL pointer to fix the following sparse warning:
drivers/cpufreq/armada-37xx-cpufreq.c:448:32: sparse: warning: Using plain integer as NULL pointer

Signed-off-by: default avatarMiles Chen <miles.chen@mediatek.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent ddb58da6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment