Re: [U-Boot] [PATCH 09/20] i2c: stm32f7_i2c: 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/i2c/stm32f7_i2c.c: In function 'stm32_i2c_compute_solutions': > warning: comparison between signed and unsigned integer expressions [-Wsign- > compare] > if (scldel < s

[U-Boot] [PATCH 09/20] i2c: stm32f7_i2c: Fix warnings when compiling with W=1

2019-06-21 Thread Patrick Delaunay
This patch solves the following warnings: drivers/i2c/stm32f7_i2c.c: In function 'stm32_i2c_compute_solutions': warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (scldel < scldel_min) ^ warning: comparison between signed and unsigned intege