Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XU4] [4.14] native compilation failure #425

Open
aaronouthier opened this issue Jan 8, 2022 · 0 comments
Open

[XU4] [4.14] native compilation failure #425

aaronouthier opened this issue Jan 8, 2022 · 0 comments

Comments

@aaronouthier
Copy link

Trying to compile the kernel for my OpenMediaVault 6 build with my new cloudshell2 NAS enclosure. OMV only supports Armbian as of this writing, but they are using stock kernel, without odroid specific patches, I suspect. As a result, the required fbtft_device module is not present in default kernel.

Command used:

cd /usr/src
git clone --depth 1 https://github.com/hardkernel/linux -b odroidxu4-4.14.y
make odroidxu4_defconfig
make -j8

Output:

drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c: In function ‘rtw_mp_efuse_get’:
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9538:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9538 |    sprintf(extra, "%s0x%02X ", extra, pEfuseHal->fakeBTEfuseModifiedMap[addr+i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9514:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9514 |    sprintf(extra, "%s0x%02X ", extra, pEfuseHal->fakeEfuseModifiedMap[addr+i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9476:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9476 |    sprintf(extra, "%s0x%02x\t", extra, i);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9479:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9479 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeEfuseModifiedMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9482:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9482 |    sprintf(extra, "%s\t", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9485:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9485 |     sprintf(extra, "%s %02X", extra, pEfuseHal->fakeEfuseModifiedMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9488:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9488 |    sprintf(extra, "%s\n", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9456:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9456 |    sprintf(extra, "%s0x%03x\t", extra, i);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9459:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9459 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeBTEfuseModifiedMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9462:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9462 |    sprintf(extra, "%s\t", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9465:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9465 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeBTEfuseModifiedMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9468:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9468 |    sprintf(extra, "%s\n", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9436:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9436 |    sprintf(extra, "%s0x%03x\t", extra, i);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9439:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9439 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeBTEfuseModifiedMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9442:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9442 |    sprintf(extra, "%s\t", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9445:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9445 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeBTEfuseModifiedMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9448:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9448 |    sprintf(extra, "%s\n", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9427:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9427 |    sprintf(extra, "%s 0x%02X ", extra, data[i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9375:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9375 |    sprintf(extra, "%s0x%03x\t", extra, i);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9378:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9378 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->BTEfuseInitMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9381:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9381 |    sprintf(extra,"%s\t",extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9384:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9384 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->BTEfuseInitMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9387:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9387 |    sprintf(extra, "%s\n", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9346:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9346 |    sprintf(extra, "%s0x%03x\t", extra, i);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9349:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9349 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->BTEfuseInitMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9352:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9352 |    sprintf(extra,"%s\t",extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9355:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9355 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->BTEfuseInitMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9358:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9358 |    sprintf(extra, "%s\n", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9321:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9321 |    sprintf(extra, "%s0x%02X", extra, data[i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9324:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9324 |     sprintf(extra,"%s,",extra);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9321:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9321 |    sprintf(extra, "%s0x%02X", extra, data[i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9260:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9260 |    sprintf(extra, "%s%02X", extra, data[i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9263:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9263 |     sprintf(extra,"%s:",extra);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9260:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9260 |    sprintf(extra, "%s%02X", extra, data[i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9165:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9165 |    sprintf(extra, "%s%02X", extra, rawdata[i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9175:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9175 |     sprintf(extra, "%s ", extra);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9172:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9172 |     sprintf(extra, "%s \t", extra);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9168:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9168 |     sprintf(extra, "%s\n", extra);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9169:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9169 |     sprintf(extra, "%s0x%02x\t", extra, i+1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9149:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9149 |    sprintf(extra, "%s0x%02X ", extra, data[i]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9098:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9098 |    sprintf(extra, "%s0x%02x\t", extra, i);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9101:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9101 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeEfuseInitMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9104:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9104 |    sprintf(extra, "%s\t", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9107:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9107 |     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeEfuseInitMap[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9110:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9110 |    sprintf(extra,"%s\n",extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9071:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9071 |    sprintf(extra, "%s0x%02x\t", extra, i);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9074:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9074 |     sprintf(extra, "%s%02X ", extra, PROMContent[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9077:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9077 |    sprintf(extra, "%s\t", extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9080:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9080 |     sprintf(extra, "%s%02X ", extra, PROMContent[i+j]);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:9083:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
 9083 |    sprintf(extra,"%s\n",extra);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:8995:60: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
 8995 |                             union iwreq_data *wdata, char *extra)
      |                                                      ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c: In function ‘rtw_mp_get’:
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:10528:4: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
10528 |    sprintf( extra, "%s %d" ,extra ,strtou );
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:12091:54: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
12091 |                       union iwreq_data *wdata, char *extra)
      |                                                ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:10415:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
10415 |     sprintf( extra, "%s %d" ,extra ,strtout );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:12091:54: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
12091 |                       union iwreq_data *wdata, char *extra)
      |                                                ~~~~~~^~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:10381:5: error: ‘sprintf’ argument 3 overlaps destination object ‘extra’ [-Werror=restrict]
10381 |     sprintf( extra, "%s %d" ,extra ,strtout );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.c:12091:54: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
12091 |                       union iwreq_data *wdata, char *extra)
      |                                                ~~~~~~^~~~~
cc1: all warnings being treated as errors
make[4]: *** [scripts/Makefile.build:327: drivers/net/wireless/rtl8812au/os_dep/linux/ioctl_linux.o] Error 1
make[3]: *** [scripts/Makefile.build:585: drivers/net/wireless/rtl8812au] Error 2
make[2]: *** [scripts/Makefile.build:585: drivers/net/wireless] Error 2
make[1]: *** [scripts/Makefile.build:585: drivers/net] Error 2
make: *** [Makefile:1052: drivers] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant