Re: [PATCH] staging: greybus: fix warnings detected by sparse

2020-09-16 Thread Coiby Xu
On Mon, Aug 24, 2020 at 12:41:48PM +0300, Dan Carpenter wrote: On Mon, Aug 24, 2020 at 10:50:59AM +0800, Coiby Xu wrote: This patch fix the following warnings from sparse, $ make C=2 drivers/staging/greybus/ drivers/staging/greybus/audio_codec.c:691:36: warning: incorrect type in initializer

Re: [PATCH] staging: greybus: fix warnings detected by sparse

2020-08-24 Thread Dan Carpenter
On Mon, Aug 24, 2020 at 10:50:59AM +0800, Coiby Xu wrote: > This patch fix the following warnings from sparse, > > $ make C=2 drivers/staging/greybus/ > drivers/staging/greybus/audio_codec.c:691:36: warning: incorrect type in > initializer (different base types) >

[PATCH] staging: greybus: fix warnings detected by sparse

2020-08-23 Thread Coiby Xu
This patch fix the following warnings from sparse, $ make C=2 drivers/staging/greybus/ drivers/staging/greybus/audio_codec.c:691:36: warning: incorrect type in initializer (different base types) drivers/staging/greybus/audio_codec.c:691:36:expected unsigned long long [usertype] formats