lkml.org 
[lkml]   [2008]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [v4l-dvb-maintainer] [patch, -git] drivers/media build fix for modular builds
From
Date

On Wed, 2008-04-30 at 11:39 -0400, Michael Krufky wrote:

>
> ...and about your previous fix:
>
> --- a/drivers/media/video/tuner-core.c~drivers-media-video-tuner-corec-tuner_probe-fix-error-check
> +++ a/drivers/media/video/tuner-core.c
> @@ -1181,7 +1181,7 @@ static int tuner_probe(struct i2c_client
> case 0x60:
> if (tuner_symbol_probe(tea5767_autodetection,
> t->i2c->adapter, t->i2c->addr)
> - != EINVAL) {
> + != -EINVAL) {
> t->type = TUNER_TEA5767;
> t->mode_mask = T_RADIO;
> t->mode = T_STANDBY;
>
>
> I think we're better off testing for >= 0. Any < 0 should be
> considered a failure.

I tried it anyway, still went boom.

-Mike



\
 
 \ /
  Last update: 2008-04-30 18:05    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site