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: <s2o4f6ba3b1004301119hd275af8r6bd4fdd98b14168a@mail.gmail.com>
Date:	Fri, 30 Apr 2010 14:19:07 -0400
From:	Bob Beers <bob.beers@...il.com>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	lkml <linux-kernel@...r.kernel.org>, linux-next@...r.kernel.org,
	gregkh@...e.de
Subject: Re: [PATCH -next] staging/cxt1e1: use netdev_priv to fix build

On Fri, Apr 30, 2010 at 1:07 PM, Randy Dunlap <randy.dunlap@...cle.com> wrote:
> From: Randy Dunlap <randy.dunlap@...cle.com>
>
> Fix cxt1e1 build error:
> drivers/staging/cxt1e1/linux.c:1195: error: 'struct net_device' has no member named 'priv'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> Cc: Bob Beers <bob.beers@...il.com>

This is correct of course. If you need it ...

Acked-by: Bob Beers <bob.beers@...il.com>

> ---
>  drivers/staging/cxt1e1/linux.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20100430.orig/drivers/staging/cxt1e1/linux.c
> +++ linux-next-20100430/drivers/staging/cxt1e1/linux.c
> @@ -1192,7 +1192,7 @@ c4_add_dev (hdw_info_t * hi, int brdno,
>                 hi->devname, irq1);
>         unregister_netdev (ndev);
>         free_irq (irq0, ndev);
> -        OS_kfree (ndev->priv);
> +        OS_kfree (netdev_priv(ndev));
>         OS_kfree (ndev);
>         error_flag = EIO;
>         return 0;
>
--
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