summaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-07-26 21:47:24 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-27 08:10:34 -0400
commit17f330ce9e434333a98b0fbc7b6d5ddbe0cc6770 (patch)
tree6f748964ab21bcb5414f6e76cb8e96cc2f912c88 /fs/dlm/lowcomms.c
parent38566d28ea9114f9019e7f9804d6db5cd98bf6dd (diff)
downloadlinux-stable-17f330ce9e434333a98b0fbc7b6d5ddbe0cc6770.tar.gz
linux-stable-17f330ce9e434333a98b0fbc7b6d5ddbe0cc6770.tar.bz2
linux-stable-17f330ce9e434333a98b0fbc7b6d5ddbe0cc6770.zip
media: video-i2c: hwmon: fix return value from amg88xx_hwmon_init()
PTR_ERR was making any pointer passed an error pointer, and should be replaced with PTR_ERR_OR_ZERO which checks if is an actual error condition. Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'fs/dlm/lowcomms.c')
0 files changed, 0 insertions, 0 deletions