Re: [PATCH 02/21] EDAC: Fixes to use put_device() after device_add() errors

From: Robert Richter
Date: Wed Jun 12 2019 - 13:21:57 EST


On 11.06.19 19:28:30, Borislav Petkov wrote:
> On Wed, May 29, 2019 at 08:44:05AM +0000, Robert Richter wrote:
> > Always use put_device() after device_add() failed.
> >
> > Signed-off-by: Robert Richter <rrichter@xxxxxxxxxxx>
> > ---
> > drivers/edac/edac_mc_sysfs.c | 36 +++++++++++++++++++-----------------
> > 1 file changed, 19 insertions(+), 17 deletions(-)
>
> I already have a partial fix for that, you can send me the rest ontop:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/commit/?h=for-next&id=f5d59da9663d115b9cf62cce75a33382c880b560

Ok, I have rebased onto for-next.

Thanks,

-Robert