Re: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh()

2013-12-15 Thread Borislav Petkov
On Thu, Dec 12, 2013 at 11:29:41PM +, Deucher, Alexander wrote: > Fix is already queued in my next -fixes pull. Thanks! I just hit this too so +1. Btw, if Linus cuts -rc4 tonight and your pull request doesn't make it in before then, we probably should warn people using radeon and testing

Re: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh()

2013-12-15 Thread Borislav Petkov
On Thu, Dec 12, 2013 at 11:29:41PM +, Deucher, Alexander wrote: Fix is already queued in my next -fixes pull. Thanks! I just hit this too so +1. Btw, if Linus cuts -rc4 tonight and your pull request doesn't make it in before then, we probably should warn people using radeon and testing

Re: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh()

2013-12-12 Thread Sergey Senozhatsky
day, December 12, 2013 6:26 PM > > To: Deucher, Alexander > > Cc: David Airlie; Jerome Glisse; dri-de...@lists.freedesktop.org; linux- > > ker...@vger.kernel.org > > Subject: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and > > radeon_hwmon_show_temp_thr

[PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh()

2013-12-12 Thread Sergey Senozhatsky
Since ec39f64bba radeon_hwmon_init() is using hwmon_device_register_with_groups(), which sets `rdev' as a device private driver_data, while hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh() are still waiting for `drm_device'. fix them by using dev_get_drvdata(): BUG: unable to handle

RE: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh()

2013-12-12 Thread Deucher, Alexander
ktop.org; linux- > ker...@vger.kernel.org > Subject: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and > radeon_hwmon_show_temp_thresh() > > Since ec39f64bba radeon_hwmon_init() is using > hwmon_device_register_with_groups(), which sets `rdev' as a de

RE: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh()

2013-12-12 Thread Deucher, Alexander
- ker...@vger.kernel.org Subject: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh() Since ec39f64bba radeon_hwmon_init() is using hwmon_device_register_with_groups(), which sets `rdev' as a device private driver_data, while hwmon_attributes_visible

[PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh()

2013-12-12 Thread Sergey Senozhatsky
Since ec39f64bba radeon_hwmon_init() is using hwmon_device_register_with_groups(), which sets `rdev' as a device private driver_data, while hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh() are still waiting for `drm_device'. fix them by using dev_get_drvdata(): BUG: unable to handle

Re: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh()

2013-12-12 Thread Sergey Senozhatsky
, Alexander Cc: David Airlie; Jerome Glisse; dri-de...@lists.freedesktop.org; linux- ker...@vger.kernel.org Subject: [PATCH] radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh() Since ec39f64bba radeon_hwmon_init() is using hwmon_device_register_with_groups