1. 12 8月, 2013 1 次提交
  2. 22 6月, 2013 1 次提交
  3. 08 4月, 2013 1 次提交
    • G
      hwmon: Fix checkpatch warning 'quoted string split across lines' · b55f3757
      Guenter Roeck 提交于
      Cc: Corentin Labbe <corentin.labbe@geomatys.fr>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Juerg Haefliger <juergh@gmail.com>
      Cc: Andreas Herrmann <herrmann.der.user@googlemail.com>
      Cc: Rudolf Marek <r.marek@assembler.cz>
      Cc: Jim Cromie <jim.cromie@gmail.com>
      Cc: Roger Lucas <vt8231@hiddenengine.co.uk>
      Cc: Marc Hulsman <m.hulsman@tudelft.nl>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      b55f3757
  4. 26 1月, 2013 1 次提交
  5. 20 12月, 2012 2 次提交
    • J
      hwmon: (w83627ehf) Get rid of smatch warnings · 45633fb3
      Jean Delvare 提交于
      The smatch static code analyzer complains:
      
      drivers/hwmon/w83627ehf.c:911 w83627ehf_update_device() error: buffer overflow 'W83627EHF_REG_TEMP_OFFSET' 3 <= 8
      drivers/hwmon/w83627ehf.c:909 w83627ehf_update_device() error: buffer overflow 'data->temp_offset' 3 <= 8
      drivers/hwmon/w83627ehf.c:2672 w83627ehf_resume() error: buffer overflow 'W83627EHF_REG_TEMP_OFFSET' 3 <= 8
      drivers/hwmon/w83627ehf.c:2673 w83627ehf_resume() error: buffer overflow 'data->temp_offset' 3 <= 8
      
      A deeper analysis of the code shows that these are false positives, as
      only the lower 3 bits of data->have_temp_offset can be set so the
      write is never attempted with i >= 3. However this shows that the code
      isn't very robust and future changes could easily introduce a buffer
      overflow. So let's add a safety check to prevent that and make smatch
      happy.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Peter Huewe <PeterHuewe@gmx.de>
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      45633fb3
    • J
      hwmon: (w83627ehf) Add support for suspend · 7e630bb5
      Jean Delvare 提交于
      On suspend some register values are lost, most notably the Value RAM
      areas but also other limits and settings. Restore them on resume.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Tested-by: NGuenter Roeck <linux@roeck-us.net>
      7e630bb5
  6. 29 11月, 2012 3 次提交
  7. 06 11月, 2012 1 次提交
  8. 22 7月, 2012 1 次提交
  9. 02 4月, 2012 1 次提交
  10. 19 3月, 2012 2 次提交
  11. 13 3月, 2012 3 次提交
  12. 09 2月, 2012 1 次提交
  13. 05 2月, 2012 1 次提交
  14. 30 1月, 2012 1 次提交
  15. 06 1月, 2012 1 次提交
  16. 07 11月, 2011 1 次提交
  17. 04 11月, 2011 3 次提交
  18. 25 10月, 2011 5 次提交
  19. 20 10月, 2011 1 次提交
  20. 14 10月, 2011 1 次提交
    • J
      hwmon: (w83627ehf) Properly report thermal diode sensors · bf164c58
      Jean Delvare 提交于
      The w83627ehf driver is improperly reporting thermal diode sensors as
      type 2, instead of 3. This caused "sensors" and possibly other
      monitoring tools to report these sensors as "transistor" instead of
      "thermal diode".
      
      Furthermore, diode subtype selection (CPU vs. external) is only
      supported by the original W83627EHF/EHG. All later models only support
      CPU diode type, and some (NCT6776F) don't even have the register in
      question so we should avoid reading from it.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      bf164c58
  21. 15 3月, 2011 8 次提交