[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190508124738.GC8646@kroah.com>
Date: Wed, 8 May 2019 14:47:38 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Borislav Petkov <bp@...en8.de>
Cc: PanBian <bianpan2016@....com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
James Morse <james.morse@....com>, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] EDAC/sysfs: Drop device references properly
On Wed, May 08, 2019 at 01:06:05PM +0200, Borislav Petkov wrote:
> --
> From: Greg KH <gregkh@...uxfoundation.org>
>
> Do put_device() if device_add() fails.
>
> [ bp: do device_del() for the successfully created devices in
> edac_create_csrow_objects(), on the unwind path. ]
Yes, good catch, looks good, thanks!
greg k-h
Powered by blists - more mailing lists