Re: [media-pci-cx25821] question about value overwrite

2017-06-20 Thread Gustavo A. R. Silva
Hi Hans, Quoting Hans Verkuil : On 05/19/2017 12:07 AM, Gustavo A. R. Silva wrote: Hello everybody, While looking into Coverity ID 1226903 I ran into the following piece of code at drivers/media/pci/cx25821/cx25821-medusa-video.c:393: 393int

Re: [media-pci-cx25821] question about value overwrite

2017-05-22 Thread Hans Verkuil
On 05/19/2017 12:07 AM, Gustavo A. R. Silva wrote: > > Hello everybody, > > While looking into Coverity ID 1226903 I ran into the following piece > of code at drivers/media/pci/cx25821/cx25821-medusa-video.c:393: > > 393int medusa_set_videostandard(struct cx25821_dev *dev) > 394{ > 395

[media-pci-cx25821] question about value overwrite

2017-05-18 Thread Gustavo A. R. Silva
Hello everybody, While looking into Coverity ID 1226903 I ran into the following piece of code at drivers/media/pci/cx25821/cx25821-medusa-video.c:393: 393int medusa_set_videostandard(struct cx25821_dev *dev) 394{ 395int status = 0; 396u32 value = 0, tmp = 0; 397 398