Re: [U-Boot] [PATCH 06/20] adc: stm32-adc: Fix warnings when compiling with W=1

2019-07-12 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: vendredi 21 juin 2019 15:27 > > This patch solves the following warnings: > > drivers/adc/stm32-adc.c: In function 'stm32_adc_chan_of_init': > warning: comparison between signed and unsigned integer expressions [-Wsign- > compare] > if (num_channels > adc-

Re: [U-Boot] [PATCH 06/20] adc: stm32-adc: Fix warnings when compiling with W=1

2019-06-21 Thread Fabrice Gasnier
On 6/21/19 3:26 PM, Patrick Delaunay wrote: > This patch solves the following warnings: > > drivers/adc/stm32-adc.c: In function 'stm32_adc_chan_of_init': > warning: comparison between signed and unsigned integer expressions > [-Wsign-compare] > if (num_channels > adc->cfg->max_channels) { >

[U-Boot] [PATCH 06/20] adc: stm32-adc: Fix warnings when compiling with W=1

2019-06-21 Thread Patrick Delaunay
This patch solves the following warnings: drivers/adc/stm32-adc.c: In function 'stm32_adc_chan_of_init': warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (num_channels > adc->cfg->max_channels) { ^ Signed-off-by: Patrice Chotard Signed