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]
Date:	Fri, 19 Jun 2009 13:54:12 -0700
From:	Kevin Hilman <khilman@...prootsystems.com>
To:	Chaithrika U S <chaithrika@...com>
Cc:	netdev@...r.kernel.org,
	davinci-linux-open-source@...ux.davincidsp.com
Subject: Re: [PATCH] TI DaVinci EMAC : Fix rmmod error

Chaithrika U S <chaithrika@...com> writes:

> clk_disable was called twice in the remove function.
> Correct this so that the driver module unloads without error.
>
> Signed-off-by: Chaithrika U S <chaithrika@...com>

Signed-off-by: Kevin Hilman <khilman@...prootsystems.com>
(TI DaVinci arch maintainer)

Will pull into DaVinci git until it merges upstream.

Kevin

> ---
> Applies to Linus' kernel tree
>
>  drivers/net/davinci_emac.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
> index 0e9b9f9..2df8fb0 100644
> --- a/drivers/net/davinci_emac.c
> +++ b/drivers/net/davinci_emac.c
> @@ -2767,7 +2767,6 @@ static int __devexit davinci_emac_remove(struct platform_device *pdev)
>  
>  	dev_notice(&ndev->dev, "DaVinci EMAC: davinci_emac_remove()\n");
>  
> -	clk_disable(emac_clk);
>  	platform_set_drvdata(pdev, NULL);
>  	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
>  	mdiobus_unregister(priv->mii_bus);
> -- 
> 1.5.6
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@...ux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
--
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