Hmmm...is there a 1/2?  If so, please resend.  I didn't get it,
and I don't see it in the archive.

Thanks,

John

On Sat, Nov 12, 2005 at 09:58:53PM +0300, Alexey Dobriyan wrote:
> From: Christophe Lucas <[EMAIL PROTECTED]>
> 
> Signed-off-by: Christophe Lucas <[EMAIL PROTECTED]>
> Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
> 
> Index: linux-kj/drivers/net/wireless/atmel.c
> ===================================================================
> --- linux-kj.orig/drivers/net/wireless/atmel.c        2005-11-12 
> 16:02:18.000000000 +0300
> +++ linux-kj/drivers/net/wireless/atmel.c     2005-11-12 16:02:27.000000000 
> +0300
> @@ -1511,6 +1511,7 @@ struct net_device *init_atmel_card(unsig
>                                  struct device *sys_dev,
>                                  int (*card_present)(void *), void *card)
>  {
> +     struct proc_dir_entry *ent;
>       struct net_device *dev;
>       struct atmel_private *priv;
>       int rc;
> @@ -1624,7 +1625,9 @@ struct net_device *init_atmel_card(unsig
>  
>       netif_carrier_off(dev);
>  
> -     create_proc_read_entry ("driver/atmel", 0, NULL, atmel_read_proc, priv);
> +     ent = create_proc_read_entry ("driver/atmel", 0, NULL, atmel_read_proc, 
> priv);
> +     if (!ent)
> +             printk(KERN_WARNING "atmel: unable to create /proc entry.\n");
>  
>       printk(KERN_INFO "%s: Atmel at76c50x. Version %d.%d. MAC 
> %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n",
>              dev->name, DRIVER_MAJOR, DRIVER_MINOR,
> 
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
John W. Linville
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to