Re: [PATCH 2/2] EDAC/sysfs: Drop device references properly
From: Greg KH
Date: Wed May 08 2019 - 08:48:42 EST
On Wed, May 08, 2019 at 01:06:05PM +0200, Borislav Petkov wrote:
> --
> From: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> 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