Skip to content

Commit

Permalink
atmel: printing bogus information
Browse files Browse the repository at this point in the history
There was an extra ';' character added to the end of the if statement
which means that it always prints that the /proc entry wasn't created
even though it was.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Carpenter authored and John W. Linville committed May 22, 2013
1 parent 08c96ab commit beaee9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ struct net_device *init_atmel_card(unsigned short irq, unsigned long port,

netif_carrier_off(dev);

if (!proc_create_data("driver/atmel", 0, NULL, &atmel_proc_fops, priv));
if (!proc_create_data("driver/atmel", 0, NULL, &atmel_proc_fops, priv))
printk(KERN_WARNING "atmel: unable to create /proc entry.\n");

printk(KERN_INFO "%s: Atmel at76c50x. Version %d.%d. MAC %pM\n",
Expand Down

0 comments on commit beaee9c

Please sign in to comment.