[PATCH 00/20] hwmon: check return value after calling platform_get_resource()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patcheset add check after calling platform_get_resource to avoid null-ptr-deref
in drivers/hwmon/.

Yang Yingliang (20):
  hwmon: (abituguru) check return value after calling
    platform_get_resource()
  hwmon: (abituguru3) check return value after calling
    platform_get_resource()
  hwmon: (dme1737) check return value after calling
    platform_get_resource()
  hwmon: (f71805f) check return value after calling
    platform_get_resource()
  hwmon: (f71882fg) check return value after calling
    platform_get_resource()
  hwmon: (it87) check return value after calling platform_get_resource()
  hwmon: (lm78) check return value after calling platform_get_resource()
  hwmon: (nct6683) check return value after calling
    platform_get_resource()
  hwmon: (nct6775) check return value after calling
    platform_get_resource()
  hwmon: (sch5627) check return value after calling
    platform_get_resource()
  hwmon: (sch5636) check return value after calling
    platform_get_resource()
  hwmon: (sis5595) check return value after calling
    platform_get_resource()
  hwmon: (smsc47b397) check return value after calling
    platform_get_resource()
  hwmon: (smsc47m1) check return value after calling
    platform_get_resource()
  hwmon: (via686a) check return value after calling
    platform_get_resource()
  hwmon: (vt1211) check return value after calling
    platform_get_resource()
  hwmon: (vt8231) check return value after calling
    platform_get_resource()
  hwmon: (w83627ehf) check return value after calling
    platform_get_resource()
  hwmon: (w83627hf) check return value after calling
    platform_get_resource()
  hwmon: (w83781d) check return value after calling
    platform_get_resource()

 drivers/hwmon/abituguru.c  | 6 +++++-
 drivers/hwmon/abituguru3.c | 6 +++++-
 drivers/hwmon/dme1737.c    | 2 ++
 drivers/hwmon/f71805f.c    | 2 ++
 drivers/hwmon/f71882fg.c   | 6 +++++-
 drivers/hwmon/it87.c       | 2 ++
 drivers/hwmon/lm78.c       | 2 ++
 drivers/hwmon/nct6683.c    | 2 ++
 drivers/hwmon/nct6775.c    | 2 ++
 drivers/hwmon/sch5627.c    | 6 +++++-
 drivers/hwmon/sch5636.c    | 6 +++++-
 drivers/hwmon/sis5595.c    | 2 ++
 drivers/hwmon/smsc47b397.c | 2 ++
 drivers/hwmon/smsc47m1.c   | 2 ++
 drivers/hwmon/via686a.c    | 2 ++
 drivers/hwmon/vt1211.c     | 2 ++
 drivers/hwmon/vt8231.c     | 2 ++
 drivers/hwmon/w83627ehf.c  | 2 ++
 drivers/hwmon/w83627hf.c   | 2 ++
 drivers/hwmon/w83781d.c    | 2 ++
 20 files changed, 55 insertions(+), 5 deletions(-)

-- 
2.25.1




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux