Bug 72457 - Crash in hwmon_attributes_visible
Summary: Crash in hwmon_attributes_visible
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-07 23:15 UTC by Martin Andersson
Modified: 2019-11-19 08:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (1.52 KB, text/plain)
2013-12-07 23:15 UTC, Martin Andersson
no flags Details

Description Martin Andersson 2013-12-07 23:15:58 UTC
Created attachment 90435 [details]
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.
Comment 2 Martin Peres 2019-11-19 08:41:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/418.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.