From: Patrick DELAUNAY Date: Fri, 12 Jul 2019 14:01:21 +0000 Subject: [U-Boot] [PATCH 14/20] pinctrl: pinctrl_stm32: Fix warnings when compiling with W=1 In-Reply-To: <1561123618-2029-14-git-send-email-patrick.delaunay@st.com> References: <1561123618-2029-1-git-send-email-patrick.delaunay@st.com> <1561123618-2029-14-git-send-email-patrick.delaunay@st.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > From: Patrick DELAUNAY > Sent: vendredi 21 juin 2019 15:27 > > This patch solves the following warnings: > > warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] > if (*idx < 0) > ^ > drivers/pinctrl/pinctrl_stm32.c: At top level: > warning: no previous prototype for 'stm32_pinctrl_probe' [-Wmissing-prototypes] > int stm32_pinctrl_probe(struct udevice *dev) > ^~~~~~~~~~~~~~~~~~~ > > Signed-off-by: Patrice CHOTARD > Signed-off-by: Patrick Delaunay > --- > > drivers/pinctrl/pinctrl_stm32.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Applied to u-boot-stm32/master, thanks! Patrick