Commit Graph

4 Commits

Author SHA1 Message Date
nick black
3adef736e7
Address two -Wimplicit-fallthrough issues for gcc
In rtw_mlme_ext.c, falling through makes perfect sense. I've
there replaced the ad hoc comment with the necessary gcc
attribute. In rtw_ap.c, the default case seems to agree with
the previous ones only by happenstance, so I've inserted an
actual break there. The warnings no longer fire.

Yes, there's a portable [[fallthrough]] -- for C++17. This
won't work on Clang, but neither will the kernel, nor this
Makefile.
2019-10-11 05:49:16 -04:00
devang
29774b72fb indentation fixes 2017-09-16 09:25:16 -07:00
Tyler Baker
33174394d1 core/rtw_br_ext: include definition of csum_ipv6_magic
Fixes the following error observed while compiling this driver on arm64.

core/rtw_br_ext.c:1447:9: error: implicit declaration of function
‘csum_ipv6_magic’ [-Werror=implicit-function-declaration]

Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2015-12-08 20:03:47 -08:00
Ole Petter Bang
7183941756 Add existing files. 2013-11-19 21:24:49 +01:00