netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] kill warning in sk98lin
@ 2004-08-28  1:18 Matthew Galgoci
  2004-08-28  1:21 ` David S. Miller
  2004-08-28  8:53 ` Christoph Hellwig
  0 siblings, 2 replies; 6+ messages in thread
From: Matthew Galgoci @ 2004-08-28  1:18 UTC (permalink / raw)
  To: netdev, jgarzik


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-28 11:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-28  1:18 [patch] kill warning in sk98lin Matthew Galgoci
2004-08-28  1:21 ` David S. Miller
2004-08-28  1:23   ` Matthew Galgoci
2004-08-28  8:53 ` Christoph Hellwig
2004-08-28  8:55   ` David S. Miller
2004-08-28 11:25     ` Matthew Galgoci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).