lkml.org 
[lkml]   [2006]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Patch] Fix signedness error in drivers/media/video/vivi.c
From
Date
Em Dom, 2006-08-20 às 19:25 +0100, Alan Cox escreveu:
> Ar Sad, 2006-08-19 am 18:19 +0200, ysgrifennodd Eric Sesterhenn:
> > Since videobuf_reqbufs() returns negative values on errors the current
> > code does no real error checking since gcc removes the comparison.
> > This patch fixes this issue by making ret a normal, signed integer.
> >
> > Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
> >
>
> Doesn't apply to latest driver tree but the problem is still present.
Hmm... patch applied fine to v4l-dvb hg tree.
>
> Alan
>
Cheers,
Mauro.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-21 17:15    [W:0.368 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site