Re: [kbuild-all] [linuxtv-media:master 499/499] drivers/media/i2c/s5k5baf.c:362:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t'

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

 



On 01/08/2014 09:37 AM, Dan Carpenter wrote:
> The other thing that concerned me with this was the sparse warning:
> 
> drivers/media/i2c/s5k5baf.c:481:26: error: bad constant expression
> 
> It was hard to verify that this couldn't go over 512.  I guess 512 is
> what we would consider an error in this context.  This seems like it
> could be determined by the firmware?

Thanks for reporting.

I will prepare patch adding check for this.

Regards
Andrzej

> 
> regards,
> dan carpenter
> 

--
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