| To: | netdev@xxxxxxxxxxx, <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [patch] kill warning in sk98lin |
| From: | Matthew Galgoci <mgalgoci@xxxxxxxxxx> |
| Date: | Fri, 27 Aug 2004 21:18:57 -0400 (EDT) |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Fix up a warning in sk98lin:
--- drivers/net/sk98lin/skge.c.orig 2004-08-27 21:01:33.447576657 -0400
+++ drivers/net/sk98lin/skge.c 2004-08-27 21:06:07.199406778 -0400
@@ -788,8 +788,9 @@
cards = skge_probe();
if (cards == 0) {
printk("sk98lin: No adapter found.\n");
+ cards = -ENODEV;
}
- return cards ? 0 : -ENODEV;
+ return cards;
} /* skge_init_module */
--
Matthew Galgoci
System Administrator and Sr. Manager of Ruminants
Red Hat, Inc
919.754.3700 x44155
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH]: Remove duplicate declarations from netlink.h, David S. Miller |
|---|---|
| Next by Date: | Re: [patch] kill warning in sk98lin, David S. Miller |
| Previous by Thread: | schedule_work issues, Andy Fleming |
| Next by Thread: | Re: [patch] kill warning in sk98lin, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |