[Bug 205721] usr/src/sys/mips/rt305x/rt305x_spi.c:250: possible missing break ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 30 10:09:51 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205721

            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 at FreeBSD.org
          Reporter: dcb314 at 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 = 4;
                case CMD_FAST_READ:
                        cmd->tx_cmd_sz = 5;
                        cmd->rx_cmd_sz = cmd->tx_data_sz = 0;
                        break;

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


More information about the freebsd-bugs mailing list