1. 31 Jan, 2017 1 commit
    • Guenter Roeck's avatar
      hwmon: Relax name attribute validation for new APIs · 74d3b641
      Guenter Roeck authored
      While invalid name attributes are really not desirable and do mess up
      libsensors, enforcing valid names has the detrimental effect of driving
      users away from using the new hardware monitoring API, especially those
      registering name attributes violating the ABI restrictions. Another
      undesirable side effect is that this violation and the resulting error
      may only be discovered some time after a conversion to the new API,
      which in turn may trigger a revert of that conversion.
      
      To solve the problem, relax validation and only issue a warning instead
      of returning an error if a name attribute violating the ABI is provided.
      This lets callers continue to provide invalid name attributes while
      notifying them about it.
      
      Many thanks are due to Dmitry Torokhov for the idea.
      Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      74d3b641
  2. 25 Jan, 2017 2 commits
  3. 21 Jan, 2017 3 commits
  4. 10 Jan, 2017 8 commits
  5. 02 Jan, 2017 26 commits