]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau/hwmon: potential uninitialized variables
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 11 Jul 2018 08:02:28 +0000 (11:02 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 Jul 2018 08:06:29 +0000 (18:06 +1000)
commitda71f0efe714ecf71d450f882b94e2acd8e0c3c0
tree5bf512fa0f3cdb81761658f9457684bc63c877ae
parent922a8c82fafdec99688bbaea6c5889f562a42cdc
drm/nouveau/hwmon: potential uninitialized variables

Smatch complains that "value" can be uninitialized when kstrtol()
returns -ERANGE.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_hwmon.c