GobiSerial make error

Hello. I get an error like this. Whatever I did I couldn’t fix it. What is the problem?

I use this
SierraLinuxQMIdriversS2.42N2.64

my module
EM7455

System
Khadas VIM3 Pro Ubuntu 20.04

$ uname -a Linux Khadas 4.9.241 #2 SMP PREEMPT Thu Nov 26 03:11:53 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

$ uname -r 4.9.241

fkaraokur@Khadas:~/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiSerial$ su
Password:
root@Khadas:/home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiSerial# make
rm -rf *.o ~ core .depend ..cmd *.ko .mod.c .tmp_versions Module. modules.order .cache.mk *.o.ur-safe
make -C /lib/modules/4.9.241/build M=/home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiSerial modules
make[1]: Entering directory ‘/usr/src/linux-headers-4.9.241’
CC [M] /home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiSerial/GobiSerial.o
/home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiSerial/GobiSerial.c:242:2: error: #warning “Assuming disc_mutex is locked external to the module” [-Werror=cpp]
242 | #warning “Assuming disc_mutex is locked external to the module”
| ^~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:341: /home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiSerial/GobiSerial.o] Error 1
make[1]: *** [Makefile:1656: module/home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiSerial] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-4.9.241’
make: *** [Makefile:25: all] Error 2
root@Khadas:/home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiSerial#

how about comment out the warning line?

I’ve commented too many times but in vain! You can comment!

do you known what is "comment out "?

didn’t here make the problem?

#warning “Assuming disc_mutex is locked external to the module” [-Werror=cpp]
242 | #warning “Assuming disc_mutex is locked external to the module”
| ^~~~~~~
cc1: all warnings being treated as errors

I am stupid! I do not understand! Please describe it like a fool. More detailed

You can get some idea here https://en.m.wikipedia.org/wiki/Comment_(computer_programming)

I deleted that line and it was fixed

What error am I getting now? What should I do?

root@Khadas:/home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiNet# make
make -C /lib/modules/4.9.241/build M=/home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiNet modules
make[1]: Entering directory ‘/usr/src/linux-headers-4.9.241’
CC [M] /home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiNet/GobiUSBNet.o
In file included from ./include/linux/swap.h:8,
from ./include/linux/suspend.h:4,
from /home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiNet/QMIDevice.h:131,
from /home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiNet/GobiUSBNet.c:87:
./include/linux/memcontrol.h: In function ‘task_in_memcg_oom’:
./include/linux/memcontrol.h:484:10: error: returning ‘struct mem_cgroup *’ from a function with return type ‘unsigned char’ makes integer from pointer without a cast [-Werror=int-conversion]
484 | return p->memcg_in_oom;
| ~^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:335: /home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiNet/GobiUSBNet.o] Error 1
make[1]: *** [Makefile:1656: module/home/fkaraokur/Downloads/SierraLinuxQMIdriversS2.42N2.64/GobiNet] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-4.9.241’
make: *** [Makefile:47: all] Error 2

Great, seems Wikipedia helps you as it explained in more detailed, especially when you don’t understand those stuff and asking people to describe it like a fool …

Btw, next time please respect to other human beings who is trying to help you.
I am not feeling good when someone asked me to be a fool.

bad english. i use google translate. sorry