]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: pinmux: Fix warnings when compiling with W=1
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 21 Jun 2019 13:26:56 +0000 (15:26 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:50:57 +0000 (11:50 +0200)
commitb510b1d5fbb6effb696bcc296b9b416d7a2e16ae
tree5e6768b6e67169294d49f244b20164550303a670
parente965c23104526ac109de010ac51790bd59fea2d3
cmd: pinmux: Fix warnings when compiling with W=1

This patch solves the following warnings:

cmd/pinmux.c: In function 'do_dev':
cmd/pinmux.c:26:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (ret) {
      ^
cmd/pinmux.c:30:2: note: here
  case 1:
  ^~~~

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
cmd/pinmux.c