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'

2014-01-08 Thread Dan Carpenter
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

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'

2014-01-08 Thread Mauro Carvalho Chehab
Em Wed, 8 Jan 2014 11:37:37 +0300 Dan Carpenter dan.carpen...@oracle.com escreveu: The other thing that concerned me with this was the sparse warning: drivers/media/i2c/s5k5baf.c:481:26: error: bad constant expression Hmm... static void s5k5baf_write_arr_seq(struct s5k5baf *state,

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'

2014-01-08 Thread Andrzej Hajda
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

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'

2014-01-08 Thread Andrzej Hajda
On 01/08/2014 01:21 PM, Mauro Carvalho Chehab wrote: Em Wed, 8 Jan 2014 11:37:37 +0300 Dan Carpenter dan.carpen...@oracle.com escreveu: The other thing that concerned me with this was the sparse warning: drivers/media/i2c/s5k5baf.c:481:26: error: bad constant expression Hmm... static

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'

2014-01-08 Thread Mauro Carvalho Chehab
Em Wed, 08 Jan 2014 14:33:30 +0100 Andrzej Hajda a.ha...@samsung.com escreveu: On 01/08/2014 01:21 PM, Mauro Carvalho Chehab wrote: Em Wed, 8 Jan 2014 11:37:37 +0300 Dan Carpenter dan.carpen...@oracle.com escreveu: The other thing that concerned me with this was the sparse warning: