summaryrefslogtreecommitdiff
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-10-08 10:46:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-18 21:17:00 +0300
commit97eaf7af7fd1a4f6e882e812846d59c95085c296 (patch)
tree8931abe1667e211e759ddeff72156a59614e2aa3 /fs/nfs/write.c
parent5a67f827379ffef6760aecb8a3f8866d89e7502e (diff)
downloadlinux-97eaf7af7fd1a4f6e882e812846d59c95085c296.tar.xz
opp: Fix return in _opp_add_static_v2()
[ Upstream commit 27ff8187f13ecfec8a26fb1928e906f46f326cc5 ] Fix sparse warning: drivers/opp/of.c:924 _opp_add_static_v2() warn: passing zero to 'ERR_PTR' For duplicate OPPs 'ret' be set to zero. Fixes: deac8703da5f ("PM / OPP: _of_add_opp_table_v2(): increment count only if OPP is added") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions