Re: [PATCH V2] iio: declare struct to fix warning

2015-08-08 Thread Jonathan Cameron
On 04/08/15 09:14, Daniel Baluta wrote: > On Tue, Aug 4, 2015 at 11:11 AM, Pengyu Ma wrote: >> >> >> On 08/04/2015 04:03 PM, Daniel Baluta wrote: >>> >>> On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Daniel Baluta
On Tue, Aug 4, 2015 at 11:11 AM, Pengyu Ma wrote: > > > On 08/04/2015 04:03 PM, Daniel Baluta wrote: >> >> On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma wrote: >>> >>> When compile iio related driver the following warning shown: >>> >>> include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger'

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
On 08/04/2015 04:03 PM, Daniel Baluta wrote: On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list int (*set_trigger_state)(struct iio_tr

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Daniel Baluta
On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma wrote: > When compile iio related driver the following warning shown: > > include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' > declared inside parameter list > int (*set_trigger_state)(struct iio_trigger *trig, bool state); > > include/linu

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Lars-Peter Clausen
On 08/04/2015 09:56 AM, Pengyu Ma wrote: > > > On 08/04/2015 03:54 PM, Lars-Peter Clausen wrote: >> On 08/04/2015 09:52 AM, Pengyu Ma wrote: >>> If this patch is fine, could somebody help me to merge into upstream kernel? >> It will be merged, don't worry. But things typically take a bit longer t

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Crt Mori
On 4 August 2015 at 09:56, Pengyu Ma wrote: > > > On 08/04/2015 03:54 PM, Lars-Peter Clausen wrote: >> >> On 08/04/2015 09:52 AM, Pengyu Ma wrote: >>> >>> If this patch is fine, could somebody help me to merge into upstream >>> kernel? >> >> It will be merged, don't worry. But things typically tak

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
On 08/04/2015 03:54 PM, Lars-Peter Clausen wrote: On 08/04/2015 09:52 AM, Pengyu Ma wrote: If this patch is fine, could somebody help me to merge into upstream kernel? It will be merged, don't worry. But things typically take a bit longer than just a single day. So it's will be merge by patc

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Lars-Peter Clausen
On 08/04/2015 09:52 AM, Pengyu Ma wrote: > If this patch is fine, could somebody help me to merge into upstream kernel? It will be merged, don't worry. But things typically take a bit longer than just a single day. > > Thanks, > Pengyu > > On 08/03/2015 10:39 AM, Pengyu Ma wrote: >> When compil

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-04 Thread Pengyu Ma
If this patch is fine, could somebody help me to merge into upstream kernel? Thanks, Pengyu On 08/03/2015 10:39 AM, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list i