On Thu, 11 Mar 2010 16:38:21 -0600
"Karicheri, Muralidharan" <m-kariche...@ti.com> wrote:

> >diff -puN drivers/media/video/davinci/vpif_display.c~drivers-media-video-
> >move-dereference-after-null-test drivers/media/video/davinci/vpif_display.c
> >--- a/drivers/media/video/davinci/vpif_display.c~drivers-media-video-move-
> >dereference-after-null-test
> >+++ a/drivers/media/video/davinci/vpif_display.c
> >@@ -383,8 +383,6 @@ static int vpif_get_std_info(struct chan
> >     int index;
> >
> >     std_info->stdid = vid_ch->stdid;
> >-    if (!std_info)
> >-            return -1;
> 
> Please change it as 
> 
> if (!std_info->stdid)
>       return -1;

Could you please do this, and send the patch?  It's better that way as
you're more familar with the code and maybe can even test it.

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to