From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 72457] New: Crash in hwmon_attributes_visible Date: Sat, 07 Dec 2013 23:15:58 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0264798886==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D7D0FABB4 for ; Sat, 7 Dec 2013 15:15:58 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0264798886== Content-Type: multipart/alternative; boundary="1386458158.4B770.5229"; charset="us-ascii" --1386458158.4B770.5229 Date: Sat, 7 Dec 2013 23:15:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=72457 Priority: medium Bug ID: 72457 Assignee: dri-devel@lists.freedesktop.org Summary: Crash in hwmon_attributes_visible Severity: normal Classification: Unclassified OS: Linux (All) Reporter: g02maran@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. --1386458158.4B770.5229 Date: Sat, 7 Dec 2013 23:15:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 72457
Assignee dri-devel@lists.freedesktop.org
Summary Crash in hwmon_attributes_visible
Severity normal
Classification Unclassified
OS Linux (All)
Reporter g02maran@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version XOrg CVS
Component DRM/Radeon
Product DRI

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.


You are receiving this mail because:
  • You are the assignee for the bug.
--1386458158.4B770.5229-- --===============0264798886== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0264798886==--