Bug 205721

Summary: usr/src/sys/mips/rt305x/rt305x_spi.c:250: possible missing break ?
Product: Base System Reporter: David Binderman <dcb314>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: gonzo, mizhka
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description David Binderman 2015-12-30 10:09:51 UTC
[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;
Comment 1 Michael Zhilin freebsd_committer freebsd_triage 2016-03-22 12:02:34 UTC
Hi,

Any progress with ticket? Is there any patch? 

Thx!
Comment 2 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2019-01-16 01:33:50 UTC
The file was deleted as part of base r327457 (unifying Mediatek code under sys/mips/mediatek)