[lkml]   [2013]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] drm/sysfs: Do not drop device reference twice
On Wed, Oct 30, 2013 at 11:59:05AM +0100, Thierry Reding wrote:
> device_unregister() already drops its reference to the struct device, so
> explicitly calling put_device() before device_unregister() can cause the
> device to have been freed before it can be unregistered.
> Signed-off-by: Thierry Reding <>

Thanks for fixing this. It was driving me nuts.
Tested-by: Ben Widawsky <>

Ben Widawsky, Intel Open Source Technology Center

 \ /
  Last update: 2013-10-30 19:41    [W:0.031 / U:9.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site