Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2015 10:09:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205721] usr/src/sys/mips/rt305x/rt305x_spi.c:250: possible missing break ?
Message-ID:  <bug-205721-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205721

            Bug ID: 205721
           Summary: usr/src/sys/mips/rt305x/rt305x_spi.c:250: possible
                    missing break ?
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

[usr/src/sys/mips/rt305x/rt305x_spi.c:250] ->
[usr/src/sys/mips/rt305x/rt305x_spi.c:252]: (warning) Variable 'tx_cmd_sz' =
is
reassigned a value before the old one has been used. 'break;' missing?

                case CMD_READ:
                        cmd->tx_cmd_sz =3D 4;
                case CMD_FAST_READ:
                        cmd->tx_cmd_sz =3D 5;
                        cmd->rx_cmd_sz =3D cmd->tx_data_sz =3D 0;
                        break;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205721-8>