[Bug 72457] New: Crash in hwmon_attributes_visible

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 7 15:15:58 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=72457

          Priority: medium
            Bug ID: 72457
          Assignee: dri-devel at lists.freedesktop.org
           Summary: Crash in hwmon_attributes_visible
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: g02maran at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: XOrg CVS
         Component: DRM/Radeon
           Product: DRI

Created attachment 90435
  --> https://bugs.freedesktop.org/attachment.cgi?id=90435&action=edit
patch

I tried the drm-fixes-3.13 branch but it crashes for me in
hwmon_attributes_visible. If I revert commit
ec39f64bba3421c2060fcbd1aeb6eec81fe0a42d (drm/radeon/dpm: Convert
to use devm_hwmon_register_with_groups) the crash disappears.

The attached patch fixes the issue for me. I only had a problem with the
hwmon_attributes_visible function, but looking at the code it seems to me that
the same fix is needed in radeon_hwmon_show_temp_thresh as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131207/f8e38256/attachment.html>


More information about the dri-devel mailing list