Re: Compiler warning from drivers/media/usb/au0828/au0828-video.c: In function ‘queue_setup’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/23/2015 09:05 PM, Shuah Khan wrote:
> Hi Mauro,
> 
> I am seeing the following warning from au0828 - linux_media
> media_controller branch:
> 
> drivers/media/usb/au0828/au0828-video.c: In function ‘queue_setup’:
> drivers/media/usb/au0828/au0828-video.c:679:6: warning: ‘entity’ may be
> used uninitialized in this function [-Wmaybe-uninitialized]
>    if (sink == entity)
>       ^
> drivers/media/usb/au0828/au0828-video.c:644:24: note: ‘entity’ was
> declared here
>   struct media_entity  *entity, *source;
>                         ^
> 
> This looks real to me, but don't know what entity should have been
> initialized to.
> 

Hi Mauro,

I don't your patch that fixes this issue in the media-controller branch.
Are you planning to get that in?

thanks,
-- Shuah

-- 
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@xxxxxxxxxxxxxxx | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux