rtl8188eu: Fix build with kernel 5.4

Beginning with 5.4.0-rc3, a macro is defined for "fallthrough". For
that reason, the attribute statement must use __fallthrough__ instead.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2019-10-16 11:18:37 -05:00
parent 5342fb8368
commit a0e9c1dfc6
3 changed files with 4 additions and 4 deletions

View file

@ -827,7 +827,7 @@ s32 c2h_handler(_adapter *adapter, u8 id, u8 seq, u8 plen, u8 *payload)
case C2H_EXTEND:
sub_id = payload[0];
__attribute__ ((fallthrough));/* FALL THRU */
__attribute__ ((__fallthrough__));/* FALL THRU */
default:
if (phydm_c2H_content_parsing(odm, id, plen, payload) != true)
ret = _FAIL;