lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <20131114172513.6f1b1e7b@samsung.com>
Date:	Thu, 14 Nov 2013 17:25:13 -0200
From:	Mauro Carvalho Chehab <m.chehab@...sung.com>
To:	Libo Chen <clbchenlibo.chen@...wei.com>
Cc:	dougthompson@...ssion.com, linux-edac@...r.kernel.org,
	LKML <linux-kernel@...r.kernel.org>,
	Greg KH <gregkh@...uxfoundation.org>, mchehab@...hat.com,
	Li Zefan <lizefan@...wei.com>
Subject: Re: [PATCH] edac: cell_edac: fix missing of_node_put

Em Mon, 26 Aug 2013 14:53:43 +0800
Libo Chen <clbchenlibo.chen@...wei.com> escreveu:

> 
> decrease device_node refcount np after task completion
> 
> Signed-off-by: Libo Chen <libo.chen@...wei.com>


Applied.

Patch is at:
	http://git.infradead.org/users/mchehab/edac.git
and
	http://git.kernel.org/cgit/linux/kernel/git/mchehab/linux-edac.git

> ---
>  drivers/edac/cell_edac.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c
> index c2eaf33..493dc30 100644
> --- a/drivers/edac/cell_edac.c
> +++ b/drivers/edac/cell_edac.c
> @@ -162,6 +162,7 @@ static void cell_edac_init_csrows(struct mem_ctl_info *mci)
>  			csrow->first_page, nr_pages);
>  		break;
>  	}
> +	of_node_put(np);
>  }
> 
>  static int cell_edac_probe(struct platform_device *pdev)


-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ