[staging:staging-next 319/341] drivers/staging/r8188eu/hal/rtl8188e_cmd.c:158:12: warning: variable 'init_rate' set but not used
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
head: 0bd35146642bdc56f1b87d75f047b1c92bd2bd39
commit: 987219ad34a67b6160e6f5247578596a1a887031 [319/341] staging: r8188eu: remove lines from Makefile that silence build warnings
config: x86_64-randconfig-r005-20210815 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7776b19eed44906e9973bfb240b6279d6feaab41)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit...
git remote add staging https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
git fetch --no-tags staging staging-next
git checkout 987219ad34a67b6160e6f5247578596a1a887031
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/staging/r8188eu/hal/rtl8188e_cmd.c:7:
In file included from drivers/staging/r8188eu/hal/../include/drv_types.h:22:
drivers/staging/r8188eu/hal/../include/rtw_recv.h:395:9: warning: variable 'buf_desc' is uninitialized when used here [-Wuninitialized]
return buf_desc;
^~~~~~~~
drivers/staging/r8188eu/hal/../include/rtw_recv.h:391:25: note: initialize the variable 'buf_desc' to silence this warning
unsigned char *buf_desc;
^
= NULL
drivers/staging/r8188eu/hal/../include/rtw_recv.h:412:52: warning: variable 'buf_star' is uninitialized when used here [-Wuninitialized]
precv_frame = rxmem_to_recvframe((unsigned char *)buf_star);
^~~~~~~~
drivers/staging/r8188eu/hal/../include/rtw_recv.h:410:14: note: initialize the variable 'buf_star' to silence this warning
u8 *buf_star;
^
= NULL
>> drivers/staging/r8188eu/hal/rtl8188e_cmd.c:158:12: warning: variable 'init_rate' set but not used [-Wunused-but-set-variable]
u8 macid, init_rate, raid, shortGIrate = false;
^
3 warnings generated.
vim +/init_rate +158 drivers/staging/r8188eu/hal/rtl8188e_cmd.c
8cd574e6af5463 Phillip Potter 2021-07-28 149
8cd574e6af5463 Phillip Potter 2021-07-28 150 /* bitmap[0:27] = tx_rate_bitmap */
8cd574e6af5463 Phillip Potter 2021-07-28 151 /* bitmap[28:31]= Rate Adaptive id */
8cd574e6af5463 Phillip Potter 2021-07-28 152 /* arg[0:4] = macid */
8cd574e6af5463 Phillip Potter 2021-07-28 153 /* arg[5] = Short GI */
8cd574e6af5463 Phillip Potter 2021-07-28 154 void rtl8188e_Add_RateATid(struct adapter *pAdapter, u32 bitmap, u8 arg, u8 rssi_level)
8cd574e6af5463 Phillip Potter 2021-07-28 155 {
8cd574e6af5463 Phillip Potter 2021-07-28 156 struct hal_data_8188e *haldata = GET_HAL_DATA(pAdapter);
8cd574e6af5463 Phillip Potter 2021-07-28 157
8cd574e6af5463 Phillip Potter 2021-07-28 @158 u8 macid, init_rate, raid, shortGIrate = false;
8cd574e6af5463 Phillip Potter 2021-07-28 159
8cd574e6af5463 Phillip Potter 2021-07-28 160 macid = arg&0x1f;
8cd574e6af5463 Phillip Potter 2021-07-28 161
8cd574e6af5463 Phillip Potter 2021-07-28 162 raid = (bitmap>>28) & 0x0f;
8cd574e6af5463 Phillip Potter 2021-07-28 163 bitmap &= 0x0fffffff;
8cd574e6af5463 Phillip Potter 2021-07-28 164
8cd574e6af5463 Phillip Potter 2021-07-28 165 if (rssi_level != DM_RATR_STA_INIT)
8cd574e6af5463 Phillip Potter 2021-07-28 166 bitmap = ODM_Get_Rate_Bitmap(&haldata->odmpriv, macid, bitmap, rssi_level);
8cd574e6af5463 Phillip Potter 2021-07-28 167
8cd574e6af5463 Phillip Potter 2021-07-28 168 bitmap |= ((raid<<28)&0xf0000000);
8cd574e6af5463 Phillip Potter 2021-07-28 169
8cd574e6af5463 Phillip Potter 2021-07-28 170 init_rate = get_highest_rate_idx(bitmap&0x0fffffff)&0x3f;
8cd574e6af5463 Phillip Potter 2021-07-28 171
8cd574e6af5463 Phillip Potter 2021-07-28 172 shortGIrate = (arg&BIT(5)) ? true : false;
8cd574e6af5463 Phillip Potter 2021-07-28 173
8cd574e6af5463 Phillip Potter 2021-07-28 174 if (shortGIrate)
8cd574e6af5463 Phillip Potter 2021-07-28 175 init_rate |= BIT(6);
8cd574e6af5463 Phillip Potter 2021-07-28 176
8cd574e6af5463 Phillip Potter 2021-07-28 177 raid = (bitmap>>28) & 0x0f;
8cd574e6af5463 Phillip Potter 2021-07-28 178
8cd574e6af5463 Phillip Potter 2021-07-28 179 bitmap &= 0x0fffffff;
8cd574e6af5463 Phillip Potter 2021-07-28 180
8cd574e6af5463 Phillip Potter 2021-07-28 181 DBG_88E("%s=> mac_id:%d, raid:%d, ra_bitmap=0x%x, shortGIrate=0x%02x\n",
8cd574e6af5463 Phillip Potter 2021-07-28 182 __func__, macid, raid, bitmap, shortGIrate);
8cd574e6af5463 Phillip Potter 2021-07-28 183
6839ff57baa4a6 Michael Straube 2021-08-09 184 ODM_RA_UpdateRateInfo_8188E(&haldata->odmpriv, macid, raid, bitmap, shortGIrate);
8cd574e6af5463 Phillip Potter 2021-07-28 185 }
8cd574e6af5463 Phillip Potter 2021-07-28 186
:::::: The code at line 158 was first introduced by commit
:::::: 8cd574e6af5463af7d693d111c61212e52c44810 staging: r8188eu: introduce new hal dir for RTL8188eu driver
:::::: TO: Phillip Potter <phil(a)philpotter.co.uk>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[sashal-linux-stable:pending-5.13 22/84] net/vmw_vsock/virtio_transport_common.c:958:17: error: too few arguments to function 'virtio_transport_send_credit_update'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git pending-5.13
head: c1dae720b8d8e54eae9a77c212ffe2d1f0dc2dab
commit: aaa8d21b24cb0a8e65e3d25777e990b0c0566318 [22/84] VSOCK: handle VIRTIO_VSOCK_OP_CREDIT_REQUEST
config: m68k-randconfig-r034-20210815 (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable pending-5.13
git checkout aaa8d21b24cb0a8e65e3d25777e990b0c0566318
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash net/vmw_vsock/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
net/vmw_vsock/virtio_transport_common.c: In function 'virtio_transport_recv_connected':
>> net/vmw_vsock/virtio_transport_common.c:958:17: error: too few arguments to function 'virtio_transport_send_credit_update'
958 | virtio_transport_send_credit_update(vsk);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/vmw_vsock/virtio_transport_common.c:272:12: note: declared here
272 | static int virtio_transport_send_credit_update(struct vsock_sock *vsk,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
vim +/virtio_transport_send_credit_update +958 net/vmw_vsock/virtio_transport_common.c
944
945 static int
946 virtio_transport_recv_connected(struct sock *sk,
947 struct virtio_vsock_pkt *pkt)
948 {
949 struct vsock_sock *vsk = vsock_sk(sk);
950 int err = 0;
951
952 switch (le16_to_cpu(pkt->hdr.op)) {
953 case VIRTIO_VSOCK_OP_RW:
954 virtio_transport_recv_enqueue(vsk, pkt);
955 sk->sk_data_ready(sk);
956 return err;
957 case VIRTIO_VSOCK_OP_CREDIT_REQUEST:
> 958 virtio_transport_send_credit_update(vsk);
959 break;
960 case VIRTIO_VSOCK_OP_CREDIT_UPDATE:
961 sk->sk_write_space(sk);
962 break;
963 case VIRTIO_VSOCK_OP_SHUTDOWN:
964 if (le32_to_cpu(pkt->hdr.flags) & VIRTIO_VSOCK_SHUTDOWN_RCV)
965 vsk->peer_shutdown |= RCV_SHUTDOWN;
966 if (le32_to_cpu(pkt->hdr.flags) & VIRTIO_VSOCK_SHUTDOWN_SEND)
967 vsk->peer_shutdown |= SEND_SHUTDOWN;
968 if (vsk->peer_shutdown == SHUTDOWN_MASK &&
969 vsock_stream_has_data(vsk) <= 0 &&
970 !sock_flag(sk, SOCK_DONE)) {
971 (void)virtio_transport_reset(vsk, NULL);
972
973 virtio_transport_do_close(vsk, true);
974 }
975 if (le32_to_cpu(pkt->hdr.flags))
976 sk->sk_state_change(sk);
977 break;
978 case VIRTIO_VSOCK_OP_RST:
979 virtio_transport_do_close(vsk, true);
980 break;
981 default:
982 err = -EINVAL;
983 break;
984 }
985
986 virtio_transport_free_pkt(pkt);
987 return err;
988 }
989
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [PATCH v4] platform/x86: add meraki-mx100 platform driver
by kernel test robot
Hi Chris,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on platform-drivers-x86/for-next]
[also build test WARNING on linus/master v5.14-rc5]
[cannot apply to next-20210813]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Chris-Blake/platform-x86-add-mer...
base: git://git.infradead.org/linux-platform-drivers-x86.git for-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/06f3007cbc04cda6358255a16fa3dc49a...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chris-Blake/platform-x86-add-meraki-mx100-platform-driver/20210810-084154
git checkout 06f3007cbc04cda6358255a16fa3dc49a9a8ce3e
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/platform/x86/meraki-mx100.c: In function 'tink_board_init':
>> drivers/platform/x86/meraki-mx100.c:197:17: warning: passing argument 1 of 'ERR_PTR' makes integer from pointer without a cast [-Wint-conversion]
197 | ret = ERR_PTR(tink_leds_pdev);
| ^~~~~~~~~~~~~~
| |
| struct platform_device *
In file included from include/linux/kernfs.h:10,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/dmi.h:6,
from drivers/platform/x86/meraki-mx100.c:16:
include/linux/err.h:24:48: note: expected 'long int' but argument is of type 'struct platform_device *'
24 | static inline void * __must_check ERR_PTR(long error)
| ~~~~~^~~~~
>> drivers/platform/x86/meraki-mx100.c:197:7: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
197 | ret = ERR_PTR(tink_leds_pdev);
| ^
drivers/platform/x86/meraki-mx100.c:204:17: warning: passing argument 1 of 'ERR_PTR' makes integer from pointer without a cast [-Wint-conversion]
204 | ret = ERR_PTR(tink_keys_pdev);
| ^~~~~~~~~~~~~~
| |
| struct platform_device *
In file included from include/linux/kernfs.h:10,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/dmi.h:6,
from drivers/platform/x86/meraki-mx100.c:16:
include/linux/err.h:24:48: note: expected 'long int' but argument is of type 'struct platform_device *'
24 | static inline void * __must_check ERR_PTR(long error)
| ~~~~~^~~~~
drivers/platform/x86/meraki-mx100.c:204:7: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
204 | ret = ERR_PTR(tink_keys_pdev);
| ^
vim +/ERR_PTR +197 drivers/platform/x86/meraki-mx100.c
176
177 static int __init tink_board_init(void)
178 {
179 int ret = 0;
180
181 if (!dmi_first_match(tink_systems))
182 return -ENODEV;
183
184 /*
185 * We need to make sure that GPIO60 isn't set to native mode as is default since it's our
186 * Reset Button. To do this, write to GPIO_USE_SEL2 to have GPIO60 set to GPIO mode.
187 * This is documented on page 1609 of the PCH datasheet, order number 327879-005US
188 */
189 outl(inl(0x530) | BIT(28), 0x530);
190
191 gpiod_add_lookup_table(&tink_leds_table);
192 gpiod_add_lookup_table(&tink_keys_table);
193
194 tink_leds_pdev = tink_create_dev("leds-gpio",
195 &tink_leds_pdata, sizeof(tink_leds_pdata));
196 if (IS_ERR(tink_leds_pdev)) {
> 197 ret = ERR_PTR(tink_leds_pdev);
198 goto err;
199 }
200
201 tink_keys_pdev = tink_create_dev("gpio-keys-polled",
202 &tink_buttons_pdata, sizeof(tink_buttons_pdata));
203 if (IS_ERR(tink_keys_pdev)) {
204 ret = ERR_PTR(tink_keys_pdev);
205 platform_device_unregister(tink_leds_pdev);
206 goto err;
207 }
208
209 return ret;
210
211 err:
212 gpiod_remove_lookup_table(&tink_keys_table);
213 gpiod_remove_lookup_table(&tink_leds_table);
214 return ret;
215 }
216 module_init(tink_board_init);
217
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
arch/arm64/kvm/handle_exit.c:295:24: warning: no previous prototype for function 'nvhe_hyp_panic_handler'
by kernel test robot
Hi Andrew,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ba31f97d43be41ca99ab72a6131d7c226306865f
commit: aec0fae62e47050019474936248a311a0ab08705 KVM: arm64: Log source when panicking from nVHE hyp
date: 5 months ago
config: arm64-randconfig-r024-20210814 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1f7b25ea76a925aca690da28de9d78db7ca99d0c)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout aec0fae62e47050019474936248a311a0ab08705
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:182:25: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_CP14_64] = kvm_handle_cp14_64,
^~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:183:23: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_HVC32] = handle_hvc,
^~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:184:23: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_SMC32] = handle_smc,
^~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:185:23: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_HVC64] = handle_hvc,
^~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:186:23: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_SMC64] = handle_smc,
^~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:187:23: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_SYS64] = kvm_handle_sys_reg,
^~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:188:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_SVE] = handle_sve,
^~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:189:26: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_IABT_LOW] = kvm_handle_guest_abort,
^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:190:26: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_DABT_LOW] = kvm_handle_guest_abort,
^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:191:28: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_SOFTSTP_LOW]= kvm_handle_guest_debug,
^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:192:28: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_WATCHPT_LOW]= kvm_handle_guest_debug,
^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:193:28: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_BREAKPT_LOW]= kvm_handle_guest_debug,
^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:194:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_BKPT32] = kvm_handle_guest_debug,
^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:195:23: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_BRK64] = kvm_handle_guest_debug,
^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:196:26: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_FP_ASIMD] = handle_no_fpsimd,
^~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:197:21: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
[ESR_ELx_EC_PAC] = kvm_handle_ptrauth,
^~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:176:27: note: previous initialization is here
[0 ... ESR_ELx_EC_MAX] = kvm_handle_unknown_ec,
^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/handle_exit.c:318:4: error: implicit declaration of function 'bug_get_file_line' [-Werror,-Wimplicit-function-declaration]
bug_get_file_line(bug, &file, &line);
^
>> arch/arm64/kvm/handle_exit.c:295:24: warning: no previous prototype for function 'nvhe_hyp_panic_handler' [-Wmissing-prototypes]
void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, u64 elr,
^
arch/arm64/kvm/handle_exit.c:295:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, u64 elr,
^
static
22 warnings and 1 error generated.
vim +/nvhe_hyp_panic_handler +295 arch/arm64/kvm/handle_exit.c
294
> 295 void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, u64 elr,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
undefined reference to `ice_ptp_get_ts_config'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ba31f97d43be41ca99ab72a6131d7c226306865f
commit: 77a781155a659053f3b7e81a0ab115d27ff151cd ice: enable receive hardware timestamping
date: 9 weeks ago
config: microblaze-randconfig-r011-20210814 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 77a781155a659053f3b7e81a0ab115d27ff151cd
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
microblaze-linux-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_do_ioctl':
>> (.text+0xa7c): undefined reference to `ice_ptp_get_ts_config'
>> microblaze-linux-ld: (.text+0xa94): undefined reference to `ice_ptp_set_ts_config'
microblaze-linux-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_prepare_for_reset':
(.text+0x3740): undefined reference to `ice_ptp_release'
microblaze-linux-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_remove':
(.text+0x6910): undefined reference to `ice_ptp_release'
microblaze-linux-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_rebuild':
(.text+0x750c): undefined reference to `ice_ptp_init'
microblaze-linux-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_probe':
(.text+0xfd5c): undefined reference to `ice_ptp_init'
microblaze-linux-ld: drivers/net/ethernet/intel/ice/ice_txrx_lib.o: in function `ice_process_skb_fields':
>> (.text+0x3e4): undefined reference to `ice_ptp_rx_hwtstamp'
microblaze-linux-ld: drivers/net/ethernet/intel/ice/ice_ethtool.o: in function `ice_get_ts_info':
(.text+0x1b0c): undefined reference to `ice_get_ptp_clock_index'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
drivers/gpu/drm/msm/msm_gem_submit.c:202:10: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always false
by kernel test robot
Hi Rob,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ba31f97d43be41ca99ab72a6131d7c226306865f
commit: 20224d715a882210428ea62bba93f1bc4a0afe23 drm/msm/submit: Move copy_from_user ahead of locking bos
date: 9 months ago
config: arm64-buildonly-randconfig-r006-20210815 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1f7b25ea76a925aca690da28de9d78db7ca99d0c)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 20224d715a882210428ea62bba93f1bc4a0afe23
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/msm/msm_gem_submit.c:202:10: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare]
if (sz == SIZE_MAX) {
~~ ^ ~~~~~~~~
1 warning generated.
vim +202 drivers/gpu/drm/msm/msm_gem_submit.c
157
158 static int submit_lookup_cmds(struct msm_gem_submit *submit,
159 struct drm_msm_gem_submit *args, struct drm_file *file)
160 {
161 unsigned i, sz;
162 int ret = 0;
163
164 for (i = 0; i < args->nr_cmds; i++) {
165 struct drm_msm_gem_submit_cmd submit_cmd;
166 void __user *userptr =
167 u64_to_user_ptr(args->cmds + (i * sizeof(submit_cmd)));
168
169 ret = copy_from_user(&submit_cmd, userptr, sizeof(submit_cmd));
170 if (ret) {
171 ret = -EFAULT;
172 goto out;
173 }
174
175 /* validate input from userspace: */
176 switch (submit_cmd.type) {
177 case MSM_SUBMIT_CMD_BUF:
178 case MSM_SUBMIT_CMD_IB_TARGET_BUF:
179 case MSM_SUBMIT_CMD_CTX_RESTORE_BUF:
180 break;
181 default:
182 DRM_ERROR("invalid type: %08x\n", submit_cmd.type);
183 return -EINVAL;
184 }
185
186 if (submit_cmd.size % 4) {
187 DRM_ERROR("non-aligned cmdstream buffer size: %u\n",
188 submit_cmd.size);
189 ret = -EINVAL;
190 goto out;
191 }
192
193 submit->cmd[i].type = submit_cmd.type;
194 submit->cmd[i].size = submit_cmd.size / 4;
195 submit->cmd[i].offset = submit_cmd.submit_offset / 4;
196 submit->cmd[i].idx = submit_cmd.submit_idx;
197 submit->cmd[i].nr_relocs = submit_cmd.nr_relocs;
198
199 sz = array_size(submit_cmd.nr_relocs,
200 sizeof(struct drm_msm_gem_submit_reloc));
201 /* check for overflow: */
> 202 if (sz == SIZE_MAX) {
203 ret = -ENOMEM;
204 goto out;
205 }
206 submit->cmd[i].relocs = kmalloc(sz, GFP_KERNEL);
207 ret = copy_from_user(submit->cmd[i].relocs, userptr, sz);
208 if (ret) {
209 ret = -EFAULT;
210 goto out;
211 }
212 }
213
214 out:
215 return ret;
216 }
217
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[android-common:android12-5.10 4030/10748] drivers/android/debug_symbols.c:50:9: sparse: sparse: cast removes address space '__percpu' of expression
by kernel test robot
tree: https://android.googlesource.com/kernel/common android12-5.10
head: c72ca115a2d4732fe710c17d209db22834919156
commit: 3fcbb15c1a91a318fb9367bee24603af24648a2d [4030/10748] ANDROID: android: Create debug_symbols driver
config: i386-randconfig-s032-20210814 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-348-gf0e6938b-dirty
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10
git checkout 3fcbb15c1a91a318fb9367bee24603af24648a2d
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/android/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/android/debug_symbols.c:50:9: sparse: sparse: cast removes address space '__percpu' of expression
vim +/__percpu +50 drivers/android/debug_symbols.c
41
42 /*
43 * ads_per_cpu_entries array contains all the per_cpu variable address information.
44 */
45 static const struct ads_entry ads_per_cpu_entries[ADS_DEBUG_PER_CPU_END] = {
46 #ifdef CONFIG_ARM64
47 ADS_PER_CPU_ENTRY(ADS_IRQ_STACK_PTR, irq_stack_ptr),
48 #endif
49 #ifdef CONFIG_X86
> 50 ADS_PER_CPU_ENTRY(ADS_IRQ_STACK_PTR, hardirq_stack_ptr),
51 #endif
52 };
53
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
kernel/sys_ni.c:102:1: warning: no previous prototype for function '__arm64_sys_quotactl_fd'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ba31f97d43be41ca99ab72a6131d7c226306865f
commit: 64c2c2c62f92339b176ea24403d8db16db36f9e6 quota: Change quotactl_path() systcall to an fd-based one
date: 10 weeks ago
config: arm64-randconfig-r011-20210814 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1f7b25ea76a925aca690da28de9d78db7ca99d0c)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 64c2c2c62f92339b176ea24403d8db16db36f9e6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:58:1: note: expanded from here
__arm64_sys_epoll_pwait2
^
kernel/sys_ni.c:71:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:77:1: warning: no previous prototype for function '__arm64_sys_inotify_init1' [-Wmissing-prototypes]
COND_SYSCALL(inotify_init1);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:63:1: note: expanded from here
__arm64_sys_inotify_init1
^
kernel/sys_ni.c:77:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:78:1: warning: no previous prototype for function '__arm64_sys_inotify_add_watch' [-Wmissing-prototypes]
COND_SYSCALL(inotify_add_watch);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:64:1: note: expanded from here
__arm64_sys_inotify_add_watch
^
kernel/sys_ni.c:78:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:79:1: warning: no previous prototype for function '__arm64_sys_inotify_rm_watch' [-Wmissing-prototypes]
COND_SYSCALL(inotify_rm_watch);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:65:1: note: expanded from here
__arm64_sys_inotify_rm_watch
^
kernel/sys_ni.c:79:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:84:1: warning: no previous prototype for function '__arm64_sys_ioprio_set' [-Wmissing-prototypes]
COND_SYSCALL(ioprio_set);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:66:1: note: expanded from here
__arm64_sys_ioprio_set
^
kernel/sys_ni.c:84:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:85:1: warning: no previous prototype for function '__arm64_sys_ioprio_get' [-Wmissing-prototypes]
COND_SYSCALL(ioprio_get);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:67:1: note: expanded from here
__arm64_sys_ioprio_get
^
kernel/sys_ni.c:85:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:88:1: warning: no previous prototype for function '__arm64_sys_flock' [-Wmissing-prototypes]
COND_SYSCALL(flock);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:68:1: note: expanded from here
__arm64_sys_flock
^
kernel/sys_ni.c:88:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:101:1: warning: no previous prototype for function '__arm64_sys_quotactl' [-Wmissing-prototypes]
COND_SYSCALL(quotactl);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:69:1: note: expanded from here
__arm64_sys_quotactl
^
kernel/sys_ni.c:101:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
>> kernel/sys_ni.c:102:1: warning: no previous prototype for function '__arm64_sys_quotactl_fd' [-Wmissing-prototypes]
COND_SYSCALL(quotactl_fd);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:70:1: note: expanded from here
__arm64_sys_quotactl_fd
^
kernel/sys_ni.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:113:1: warning: no previous prototype for function '__arm64_sys_signalfd4' [-Wmissing-prototypes]
COND_SYSCALL(signalfd4);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:71:1: note: expanded from here
__arm64_sys_signalfd4
^
kernel/sys_ni.c:113:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:123:1: warning: no previous prototype for function '__arm64_sys_timerfd_create' [-Wmissing-prototypes]
COND_SYSCALL(timerfd_create);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:76:1: note: expanded from here
__arm64_sys_timerfd_create
^
kernel/sys_ni.c:123:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:124:1: warning: no previous prototype for function '__arm64_sys_timerfd_settime' [-Wmissing-prototypes]
COND_SYSCALL(timerfd_settime);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:77:1: note: expanded from here
__arm64_sys_timerfd_settime
^
kernel/sys_ni.c:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:125:1: warning: no previous prototype for function '__arm64_sys_timerfd_settime32' [-Wmissing-prototypes]
COND_SYSCALL(timerfd_settime32);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:78:1: note: expanded from here
__arm64_sys_timerfd_settime32
^
kernel/sys_ni.c:125:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:126:1: warning: no previous prototype for function '__arm64_sys_timerfd_gettime' [-Wmissing-prototypes]
COND_SYSCALL(timerfd_gettime);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:79:1: note: expanded from here
__arm64_sys_timerfd_gettime
^
kernel/sys_ni.c:126:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:127:1: warning: no previous prototype for function '__arm64_sys_timerfd_gettime32' [-Wmissing-prototypes]
COND_SYSCALL(timerfd_gettime32);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:80:1: note: expanded from here
__arm64_sys_timerfd_gettime32
^
kernel/sys_ni.c:127:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:132:1: warning: no previous prototype for function '__arm64_sys_acct' [-Wmissing-prototypes]
COND_SYSCALL(acct);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:81:1: note: expanded from here
__arm64_sys_acct
^
kernel/sys_ni.c:132:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
vim +/__arm64_sys_quotactl_fd +102 kernel/sys_ni.c
99
100 /* fs/quota.c */
101 COND_SYSCALL(quotactl);
> 102 COND_SYSCALL(quotactl_fd);
103
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month