All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] drivers/isdn/i4l/isdn_v110.c : fix warning
@ 2005-03-08 11:56 Christophe Lucas
  2005-03-08 13:39 ` Alexey Dobriyan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christophe Lucas @ 2005-03-08 11:56 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

Description:
Fix compile warning on drivers/isdn/i4l/isdn_v110.c


It refers to:
http://developer.osdl.org/cherry/compile/2.6/linux-2.6.11.results/2.6.11.allyesconfig.bzImage.txt
drivers/isdn/i4l/isdn_v110.c: In function `isdn_v110_stat_callback': 
drivers/isdn/i4l/isdn_v110.c:523: warning: 'ret' might be used uninitialized in this function

Signed-off-by: Christophe Lucas <clucas@rotomalug.org>

[-- Attachment #2: patch-fix-warning-isdn-i4l-isdn_v110.diff --]
[-- Type: text/plain, Size: 447 bytes --]

diff -urpN -X dontdiff linux-2.6.11-vanilla/drivers/isdn/i4l/isdn_v110.c linux-2.6.11/drivers/isdn/i4l/isdn_v110.c
--- linux-2.6.11-vanilla/drivers/isdn/i4l/isdn_v110.c	2005-03-02 08:38:33.000000000 +0100
+++ linux-2.6.11/drivers/isdn/i4l/isdn_v110.c	2005-03-08 12:37:57.000000000 +0100
@@ -520,7 +520,7 @@ isdn_v110_stat_callback(int idx, isdn_ct
 {
 	isdn_v110_stream *v = NULL;
 	int i;
-	int ret;
+	int ret = 0 ;
 
 	if (idx < 0)
 		return 0;

[-- Attachment #3: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2005-03-09  6:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-08 11:56 [KJ] [PATCH] drivers/isdn/i4l/isdn_v110.c : fix warning Christophe Lucas
2005-03-08 13:39 ` Alexey Dobriyan
2005-03-08 14:09 ` Christophe Lucas
2005-03-09  6:49 ` Stephen Biggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.