Fwd: [PATCH] isdn_v110 warning fix

2005-08-30 Thread Jesper Juhl
Hi Andrew, 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 wit

Re: [PATCH] isdn_v110 warning fix

2005-08-30 Thread Jesper Juhl
On 8/30/05, Karsten Keil <[EMAIL PROTECTED]> wrote: > On Tue, Aug 30, 2005 at 01:05:43AM +0200, Jesper Juhl wrote: > > > > This is OK. Even if the codepath is never executed in a way that ret might > be used uninitialized it does not harm to set ret = 0. > > > Warning fix : > drivers/isdn/i4l/i

Re: [PATCH] isdn_v110 warning fix

2005-08-30 Thread Jesper Juhl
On 8/30/05, Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > On Tue, Aug 30, 2005 at 01:05:43AM +0200, Jesper Juhl wrote: > > drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used > > uninitialized in this function > > > --- linux-2.6.13-orig/drivers/isdn/i4l/isdn_v110.c > > +++ linux-2.6.13

Re: [PATCH] isdn_v110 warning fix

2005-08-30 Thread Karsten Keil
On Tue, Aug 30, 2005 at 01:05:43AM +0200, Jesper Juhl wrote: > This is OK. Even if the codepath is never executed in a way that ret might be used uninitialized it does not harm to set ret = 0. Warning fix : drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used uninitialized in this f

Re: [PATCH] isdn_v110 warning fix

2005-08-30 Thread Thomas Pfeiffer
> On Tue, Aug 30, 2005 at 01:05:43AM +0200, Jesper Juhl wrote: > > drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used > > uninitialized in this function > > > --- linux-2.6.13-orig/drivers/isdn/i4l/isdn_v110.c > > +++ linux-2.6.13/drivers/isdn/i4l/isdn_v110.c > > @@ -516,11 +516,11 @@

Re: [PATCH] isdn_v110 warning fix

2005-08-30 Thread Alexey Dobriyan
On Tue, Aug 30, 2005 at 01:05:43AM +0200, Jesper Juhl wrote: > drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used uninitialized > in this function > --- linux-2.6.13-orig/drivers/isdn/i4l/isdn_v110.c > +++ linux-2.6.13/drivers/isdn/i4l/isdn_v110.c > @@ -516,11 +516,11 @@ > -isdn_v110

[PATCH] isdn_v110 warning fix

2005-08-29 Thread Jesper Juhl
Warning fix : drivers/isdn/i4l/isdn_v110.c:523: warning: `ret' might be used uninitialized in this function Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/isdn/i4l/isdn_v110.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.13-orig/drivers/isdn/i4l/isd