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] [thread-next>] [day] [month] [year] [list]
Message-ID: <498A1315.5060200@freescale.com>
Date:	Wed, 04 Feb 2009 16:13:41 -0600
From:	Scott Wood <scottwood@...escale.com>
To:	Julia Lawall <julia@...u.dk>
CC:	galak@...nel.crashing.org, linuxppc-dev@...abs.org,
	linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] arch/powerpc: Eliminate double sizeof

Julia Lawall wrote:
> Signed-off-by: Julia Lawall <julia@...u.dk>
> ---
>  arch/powerpc/platforms/82xx/pq2ads-pci-pic.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff -u -p a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
> --- a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
> +++ b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
> @@ -186,7 +186,7 @@ out_unmap_regs:
>  	iounmap(priv->regs);
>  out_free_bootmem:
>  	free_bootmem((unsigned long)priv,
> -	             sizeof(sizeof(struct pq2ads_pci_pic)));
> +	             sizeof(struct pq2ads_pci_pic));
>  	of_node_put(np);
>  out_unmap_irq:
>  	irq_dispose_mapping(irq);

ACK

-Scott
--
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