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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <537B2B1B.2000501@ti.com>
Date:	Tue, 20 May 2014 15:44:51 +0530
From:	Mugunthan V N <mugunthanvnm@...com>
To:	Sekhar Nori <nsekhar@...com>, David Miller <davem@...emloft.net>
CC:	Kevin Hilman <khilman@...aro.org>,
	Linux DaVinci Mailing List 
	<davinci-linux-open-source@...ux.davincidsp.com>,
	Linux netdev Mailing List <netdev@...r.kernel.org>,
	Prabhakar Lad <prabhakar.csengg@...il.com>
Subject: Re: [PATCH] net: davinci_emac: fix oops caused by uninitialized ndev->dev

On Tuesday 20 May 2014 03:41 PM, Sekhar Nori wrote:
> Commit e194312854edc22a2faf1931b3c0608fe20cb969 (drivers: net:
> davinci_cpdma: Convert kzalloc() to devm_kzalloc()) triggered
> a bug in emac_probe() wherein dev member of net_device is used
> for devres allocations even before it is initialized.
>
> This patch fixes that by using the struct device in platform_device
> instead.
>
> While at it, use &pdev->dev consistently for console messages instead
> of using ndev->dev for just one case and remove an unnecessary line
> continuation.
>
> Reported-by: Kevin Hilman <khilman@...aro.org>
> Helped-by: George Cherian <george.cherian@...com>
> Signed-off-by: Sekhar Nori <nsekhar@...com>
> ---

Acked-by: Mugunthan V N <mugunthanvnm@...com>

Regards
Mugunthan V N
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ