summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-08-07 13:19:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-20 18:46:31 +0100
commit88e9f8198dd5039868519f88e9bf78839643775c (patch)
treed6490d63635bdbb20169b4fb766d5af6935c96dc /Documentation
parentb0d54e40f3c44f43862e3f0952b3b0bf0984e014 (diff)
downloadlinux-stable-88e9f8198dd5039868519f88e9bf78839643775c.tar.gz
linux-stable-88e9f8198dd5039868519f88e9bf78839643775c.tar.bz2
linux-stable-88e9f8198dd5039868519f88e9bf78839643775c.zip
nvmem: core: return error code instead of NULL from nvmem_device_get
[ Upstream commit ca6ac25cecf0e740d7cc8e03e0ebbf8acbeca3df ] nvmem_device_get() should return ERR_PTR() on error or valid pointer on success, but one of the code path seems to return NULL, so fix it. Reported-by: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions