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: <20080702162809.dc3ddf0e.akpm@linux-foundation.org>
Date:	Wed, 2 Jul 2008 16:28:09 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Greg Kroah-Hartman <gregkh@...e.de>
Cc:	jbarnes@...tuousgeek.org, klassert@...hematik.tu-chemnitz.de,
	kay.sievers@...y.org, linux-kernel@...r.kernel.org,
	linux-pci@...r.kernel.org, davem@...emloft.net
Subject: Re: [patch 03/04] 3c59x: handle pci_name() being const

On Wed, 2 Jul 2008 13:24:53 -0700
Greg Kroah-Hartman <gregkh@...e.de> wrote:

> This changes vortex_prob1() to handle pci_name() now returning a
> constant string.
> 
> Cc: Steffen Klassert <klassert@...hematik.tu-chemnitz.de>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
> 
> ---
>  drivers/net/3c59x.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/net/3c59x.c
> +++ b/drivers/net/3c59x.c
> @@ -1010,7 +1010,7 @@ static int __devinit vortex_probe1(struc
>  	static int printed_version;
>  	int retval, print_info;
>  	struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx];
> -	char *print_name = "3c59x";
> +	const char *print_name = "3c59x";
>  	struct pci_dev *pdev = NULL;
>  	struct eisa_device *edev = NULL;
>  	DECLARE_MAC_BUF(mac);
> 

Well this one applied.  The others didn't.

Please prefer to not raise patches against a 30MB-old kernel ;)
--
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