You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@rocky rtll8821ce-git]# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.14.0-284.30.1.el9_2.x86_64/build M=/usr/src/rtll8821ce-git modules
make[1]: Entering directory '/usr/src/kernels/5.14.0-284.30.1.el9_2.x86_64'
CC [M] /usr/src/rtll8821ce-git/core/rtw_cmd.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_security.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_debug.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_io.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_ioctl_query.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_ioctl_set.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_ieee80211.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_mlme.o
/usr/src/rtll8821ce-git/core/rtw_mlme.c: In function ‘rtw_drv_scan_by_self’:
/usr/src/rtll8821ce-git/core/rtw_mlme.c:3161:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
3161 | else
| ^~~~
/usr/src/rtll8821ce-git/core/rtw_mlme.c:3164:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
3164 | goto exit;
| ^~~~
CC [M] /usr/src/rtll8821ce-git/core/rtw_mlme_ext.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_mi.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_wlan_util.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_vht.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_pwrctrl.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_rf.o
/usr/src/rtll8821ce-git/core/rtw_rf.c: In function ‘dump_txpwr_lmt’:
/usr/src/rtll8821ce-git/core/rtw_rf.c:765:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
765 | if (IS_HARDWARE_TYPE_JAGUAR_AND_JAGUAR2(adapter))
| ^~
In file included from /usr/src/rtll8821ce-git/include/drv_types.h:60,
from /usr/src/rtll8821ce-git/core/rtw_rf.c:17:
/usr/src/rtll8821ce-git/include/rtw_debug.h:220:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
220 | do {\
| ^~
/usr/src/rtll8821ce-git/core/rtw_rf.c:767:17: note: in expansion of macro ‘RTW_PRINT_SEL’
767 | RTW_PRINT_SEL(sel, "txpwr_lmt_5g_20_40_ref:0x%02x\n", rfctl->txpwr_lmt_5g_20_40_ref);
| ^~~~~~~~~~~~~
CC [M] /usr/src/rtll8821ce-git/core/rtw_chplan.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_recv.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_sta_mgt.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_ap.o
CC [M] /usr/src/rtll8821ce-git/core/mesh/rtw_mesh.o
CC [M] /usr/src/rtll8821ce-git/core/mesh/rtw_mesh_pathtbl.o
CC [M] /usr/src/rtll8821ce-git/core/mesh/rtw_mesh_hwmp.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_xmit.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_p2p.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_rson.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_tdls.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_br_ext.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_iol.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_sreset.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_btcoex_wifionly.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_btcoex.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_beamforming.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_odm.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_rm.o
CC [M] /usr/src/rtll8821ce-git/core/rtw_rm_fsm.o
CC [M] /usr/src/rtll8821ce-git/core/efuse/rtw_efuse.o
/usr/src/rtll8821ce-git/core/efuse/rtw_efuse.c: In function ‘rtw_efuse_analyze’:
/usr/src/rtll8821ce-git/core/efuse/rtw_efuse.c:781:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
781 | if (i % 16 == 0)
| ^~
In file included from /usr/src/rtll8821ce-git/include/drv_types.h:60,
from /usr/src/rtll8821ce-git/core/efuse/rtw_efuse.c:17:
/usr/src/rtll8821ce-git/include/rtw_debug.h:231:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
231 | do {\
| ^~
/usr/src/rtll8821ce-git/core/efuse/rtw_efuse.c:783:25: note: in expansion of macro ‘_RTW_PRINT_SEL’
783 | _RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
| ^~~~~~~~~~~~~~
CC [M] /usr/src/rtll8821ce-git/os_dep/osdep_service.o
/usr/src/rtll8821ce-git/os_dep/osdep_service.c: In function ‘thread_exit’:
/usr/src/rtll8821ce-git/os_dep/osdep_service.c:1306:5: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration]
1306 | complete_and_exit(comp, 0);
| ^~~~~~~~~~~~~~~~~
/usr/src/rtll8821ce-git/os_dep/osdep_service.c: In function ‘isFileReadable’:
/usr/src/rtll8821ce-git/os_dep/osdep_service.c:2208:9: error: unknown type name ‘mm_segment_t’
2208 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
/usr/src/rtll8821ce-git/os_dep/osdep_service.c:2220:25: error: implicit declaration of function ‘force_uaccess_begin’; did you mean ‘user_access_begin’? [-Werror=implicit-function-declaration]
2220 | oldfs = force_uaccess_begin();;
| ^~~~~~~~~~~~~~~~~~~
| user_access_begin
/usr/src/rtll8821ce-git/os_dep/osdep_service.c:2237:17: error: implicit declaration of function ‘force_uaccess_end’; did you mean ‘file_accessed’? [-Werror=implicit-function-declaration]
2237 | force_uaccess_end(oldfs);
| ^~~~~~~~~~~~~~~~~
| file_accessed
/usr/src/rtll8821ce-git/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/usr/src/rtll8821ce-git/os_dep/osdep_service.c:2255:9: error: unknown type name ‘mm_segment_t’
2255 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
/usr/src/rtll8821ce-git/os_dep/osdep_service.c: In function ‘storeToFile’:
/usr/src/rtll8821ce-git/os_dep/osdep_service.c:2300:9: error: unknown type name ‘mm_segment_t’
2300 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:321: /usr/src/rtll8821ce-git/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1923: /usr/src/rtll8821ce-git] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.14.0-284.30.1.el9_2.x86_64'
make: *** [Makefile:2244: modules] Error 2
[root@rocky rtll8821ce-git]#
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: