Skip to contentSkip to conversation

New: Crash in hwmon_attributes_visible

Bug 72457 [email protected] 1 participant 3 messages Dec 7, 2013 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 72457
Assignee: [email protected]
Summary: Crash in hwmon_attributes_visible
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 72457] Crash in hwmon_attributes_visible

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

--- Comment #1 from Alex Deucher <[email protected]> --- Patch queued:
http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-3.13&id=1522f9c79cd29c8f55120777ddc8ba63b9216509

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 72457] Crash in hwmon_attributes_visible

In reply to [email protected]

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #2 from Martin Peres <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel