The patch titled

     isdn_v110 warning fix

has been added to the -mm tree.  Its filename is

     isdn_v110-warning-fix.patch

Patches currently in -mm which might be from [EMAIL PROTECTED] are

remove-a-redundant-variable-in-sys_prctl.patch
remove-verify_area-remove-verify_area-from-various-uaccessh-headers.patch
remove-verify_area-remove-or-edit-references-to-verify_area-in-documentation.patch
remove-verify_area-remove-fs-umsdos-notes-as-it-only-contain-a-verify_area-related-note.patch
isdn_v110-warning-fix.patch
documentation-how-to-apply-patches-for-various-trees.patch
documentation-how-to-apply-patches-for-various-tree-fix.patch
vfree-and-kfree-cleanup-in-drivers.patch



From: Jesper Juhl <[EMAIL PROTECTED]>

Here's a small warning fix for drivers/isdn/i4l/isdn_v110.c
 drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used uninitialized 
in this function

In addition to Karsten Keil signing off on the patch, Thomas Pfeiffer also 
commented on the patch, saying 
"initializing ret with the value zero is correct and should be done."

Please apply.

Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
Signed-off-by: Karsten Keil <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/isdn/i4l/isdn_v110.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/isdn/i4l/isdn_v110.c~isdn_v110-warning-fix 
drivers/isdn/i4l/isdn_v110.c
--- devel/drivers/isdn/i4l/isdn_v110.c~isdn_v110-warning-fix    2005-08-30 
17:53:10.000000000 -0700
+++ devel-akpm/drivers/isdn/i4l/isdn_v110.c     2005-08-30 17:53:10.000000000 
-0700
@@ -516,11 +516,11 @@ buffer_full:
 }
 
 int
-isdn_v110_stat_callback(int idx, isdn_ctrl * c)
+isdn_v110_stat_callback(int idx, isdn_ctrl *c)
 {
        isdn_v110_stream *v = NULL;
        int i;
-       int ret;
+       int ret = 0;
 
        if (idx < 0)
                return 0;
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to