Add the attribute to places where we want to fall thru.
dma->ndph = _flows[1];
--ndsize;
++flows;
+ ATTRIBUTE_FALLTHROUGH;
case DMAFLOW_SMALL:
dma->ndpl = _flows[0];
--ndsize;
break;
case mmr_offset(xmt_data8):
value &= 0xff;
+ ATTRIBUTE_FALLTHROUGH;
case mmr_offset(xmt_data16):
twi->xmt_fifo = value;
break;
case mmr_offset(lsr):
uart->lsr &= ~(DR | THRE | TEMT);
uart->lsr |= bfin_uart_get_status (me);
+ ATTRIBUTE_FALLTHROUGH;
case mmr_offset(thr):
case mmr_offset(msr):
case mmr_offset(dll):
goto sys_finish;
case CB_SYS_setuid:
sc.arg1 &= 0xffff;
+ ATTRIBUTE_FALLTHROUGH;
case CB_SYS_setuid32:
tbuf += sprintf (tbuf, "setuid(%u)", args[0]);
sc.result = setuid (sc.arg1);
goto sys_finish;
case CB_SYS_setgid:
sc.arg1 &= 0xffff;
+ ATTRIBUTE_FALLTHROUGH;
case CB_SYS_setgid32:
tbuf += sprintf (tbuf, "setgid(%u)", args[0]);
sc.result = setgid (sc.arg1);