[driver-core:debugfs_remove_return_value 3/9] arch/powerpc/platforms/pseries/dtl.c:356:19: error: void value not ignored as it ought to be
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_remove_return_value
head: 2a00e100fa7b9ee326af19617a84b138c8bd086a
commit: 7f3671a8c54b423d8227d7a58e6dc8c5734cda19 [3/9] debugfs: remove return value of debugfs_create_u32()
config: powerpc-ppc64_defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 7f3671a8c54b423d8227d7a58e6dc8c5734cda19
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/platforms/pseries/dtl.c: In function 'dtl_init':
>> arch/powerpc/platforms/pseries/dtl.c:356:19: error: void value not ignored as it ought to be
buf_entries_file = debugfs_create_u32("dtl_buf_entries", 0400,
^
vim +356 arch/powerpc/platforms/pseries/dtl.c
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 335
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 336 static int dtl_init(void)
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 337 {
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 338 struct dentry *event_mask_file, *buf_entries_file;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 339 int rc, i;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 340
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 341 if (!firmware_has_feature(FW_FEATURE_SPLPAR))
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 342 return -ENODEV;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 343
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 344 /* set up common debugfs structure */
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 345
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 346 rc = -ENOMEM;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 347 dtl_dir = debugfs_create_dir("dtl", powerpc_debugfs_root);
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 348 if (!dtl_dir) {
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 349 printk(KERN_WARNING "%s: can't create dtl root dir\n",
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 350 __func__);
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 351 goto err;
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 352 }
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 353
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 354 event_mask_file = debugfs_create_x8("dtl_event_mask", 0600,
fc59a3fc8eed3a Jeremy Kerr 2009-03-11 355 dtl_dir, &dtl_event_mask);
af442a1baa6d00 Nishanth Aravamudan 2011-05-04 @356 buf_entries_file = debugfs_create_u32("dtl_buf_entries", 0400,
:::::: The code at line 356 was first introduced by commit
:::::: af442a1baa6d00117cc7e7377ce7e6a545268684 powerpc: Ensure dtl buffers do not cross 4k boundary
:::::: TO: Nishanth Aravamudan <nacc(a)us.ibm.com>
:::::: CC: Benjamin Herrenschmidt <benh(a)kernel.crashing.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 6 months
[arnd-playground:randconfig-5.4 335/337] crypto/chacha_generic.c:32: undefined reference to `chacha_crypt_generic'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-5.4
head: 2ad05693a0a25f4fdfd99eaf2cbefa3831bf47e7
commit: 332c07b6b77a7091ba81684ca7d2ca2367640a6a [335/337] crypto: fix dependency on CRYPTO_POLY1305
config: x86_64-randconfig-h001-201939 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 332c07b6b77a7091ba81684ca7d2ca2367640a6a
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: crypto/chacha_generic.o: in function `chacha_stream_xor':
>> crypto/chacha_generic.c:32: undefined reference to `chacha_crypt_generic'
vim +32 crypto/chacha_generic.c
c08d0e647305c3 crypto/chacha20_generic.c Martin Willi 2015-06-01 14
1ca1b917940c24 crypto/chacha_generic.c Eric Biggers 2018-11-16 15 static int chacha_stream_xor(struct skcipher_request *req,
860ab2e50204c4 crypto/chacha_generic.c Eric Biggers 2019-06-02 16 const struct chacha_ctx *ctx, const u8 *iv)
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 17 {
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 18 struct skcipher_walk walk;
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 19 u32 state[16];
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 20 int err;
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 21
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 22 err = skcipher_walk_virt(&walk, req, false);
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 23
1ca1b917940c24 crypto/chacha_generic.c Eric Biggers 2018-11-16 24 crypto_chacha_init(state, ctx, iv);
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 25
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 26 while (walk.nbytes > 0) {
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 27 unsigned int nbytes = walk.nbytes;
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 28
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 29 if (nbytes < walk.total)
7aceaaef04eaaf crypto/chacha_generic.c Eric Biggers 2019-03-12 30 nbytes = round_down(nbytes, CHACHA_BLOCK_SIZE);
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 31
6277655e60ddc8 crypto/chacha_generic.c Ard Biesheuvel 2019-09-27 @32 chacha_crypt_generic(state, walk.dst.virt.addr,
6277655e60ddc8 crypto/chacha_generic.c Ard Biesheuvel 2019-09-27 33 walk.src.virt.addr, nbytes, ctx->nrounds);
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 34 err = skcipher_walk_done(&walk, walk.nbytes - nbytes);
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 35 }
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 36
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 37 return err;
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 38 }
de61d7ae5d3789 crypto/chacha20_generic.c Eric Biggers 2018-11-16 39
:::::: The code at line 32 was first introduced by commit
:::::: 6277655e60ddc837e71bdd44de634ad350e2c5d4 crypto: chacha - move existing library code into lib/crypto
:::::: TO: Ard Biesheuvel <ard.biesheuvel(a)linaro.org>
:::::: CC: Ard Biesheuvel <ard.biesheuvel(a)linaro.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 6 months
[arnd-playground:randconfig-5.4 257/337] drivers/net//wan/ixp4xx_hss.c:856:11: warning: cast from pointer to integer of different size
by kbuild test robot
Hi Arnd,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-5.4
head: 2ad05693a0a25f4fdfd99eaf2cbefa3831bf47e7
commit: 7810aed02405326dae6cfb91cfde88467adfd715 [257/337] wan: ixp4xx_hss: enable compile testing
config: s390-allmodconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 7810aed02405326dae6cfb91cfde88467adfd715
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/net//wan/ixp4xx_hss.c: In function 'hss_hdlc_xmit':
>> drivers/net//wan/ixp4xx_hss.c:856:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
offset = (int)skb->data & 3; /* keep 32-bit alignment */
^
vim +856 drivers/net//wan/ixp4xx_hss.c
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 841
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 842 if (unlikely(skb->len > HDLC_MAX_MRU)) {
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 843 dev_kfree_skb(skb);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 844 dev->stats.tx_errors++;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 845 return NETDEV_TX_OK;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 846 }
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 847
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 848 debug_pkt(dev, "hss_hdlc_xmit", skb->data, skb->len);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 849
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 850 len = skb->len;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 851 #ifdef __ARMEB__
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 852 offset = 0; /* no need to keep alignment */
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 853 bytes = len;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 854 mem = skb->data;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 855 #else
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 @856 offset = (int)skb->data & 3; /* keep 32-bit alignment */
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 857 bytes = ALIGN(offset + len, 4);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 858 if (!(mem = kmalloc(bytes, GFP_ATOMIC))) {
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 859 dev_kfree_skb(skb);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 860 dev->stats.tx_dropped++;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 861 return NETDEV_TX_OK;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 862 }
0efc526927c2da Arnd Bergmann 2019-08-27 863 memcpy_swab32(mem, (u32 *)((uintptr_t)skb->data & ~3), bytes / 4);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 864 dev_kfree_skb(skb);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 865 #endif
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 866
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 867 phys = dma_map_single(&dev->dev, mem, bytes, DMA_TO_DEVICE);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 868 if (dma_mapping_error(&dev->dev, phys)) {
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 869 #ifdef __ARMEB__
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 870 dev_kfree_skb(skb);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 871 #else
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 872 kfree(mem);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 873 #endif
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 874 dev->stats.tx_dropped++;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 875 return NETDEV_TX_OK;
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 876 }
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 877
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 878 n = queue_get_desc(txreadyq, port, 1);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 879 BUG_ON(n < 0);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 880 desc = tx_desc_ptr(port, n);
f5b89e41ce7a98 Krzysztof Hałasa 2008-12-21 881
:::::: The code at line 856 was first introduced by commit
:::::: f5b89e41ce7a980aa2fd8ad105626b9ed4e8d347 WAN: Add IXP4xx HSS HDLC driver.
:::::: TO: Krzysztof Hałasa <khc(a)pm.waw.pl>
:::::: CC: Krzysztof Hałasa <khc(a)pm.waw.pl>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 6 months
arch/arm/crypto/aes-ce-core.S:467: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
by kbuild test robot
Hi Ard,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
commit: c61b1607ed4fbbf2ba7c86f29768cff44a1a88f8 crypto: arm/aes-ce - implement ciphertext stealing for XTS
date: 3 weeks ago
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c61b1607ed4fbbf2ba7c86f29768cff44a1a88f8
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arm/crypto/aes-ce-core.S: Assembler messages:
>> arch/arm/crypto/aes-ce-core.S:467: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
>> arch/arm/crypto/aes-ce-core.S:468: Error: selected processor does not support `movt ip,:upper16:.Lcts_permute_table' in ARM mode
arch/arm/crypto/aes-ce-core.S:553: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
arch/arm/crypto/aes-ce-core.S:554: Error: selected processor does not support `movt ip,:upper16:.Lcts_permute_table' in ARM mode
vim +467 arch/arm/crypto/aes-ce-core.S
403
404 ENTRY(ce_aes_xts_encrypt)
405 push {r4-r6, lr}
406
407 bl ce_aes_xts_init @ run shared prologue
408 prepare_key r2, r3
409 vmov q4, q0
410
411 teq r6, #0 @ start of a block?
412 bne .Lxtsenc4x
413
414 .Lxtsencloop4x:
415 next_tweak q4, q4, q15, q10
416 .Lxtsenc4x:
417 subs r4, r4, #64
418 bmi .Lxtsenc1x
419 vld1.8 {q0-q1}, [r1]! @ get 4 pt blocks
420 vld1.8 {q2-q3}, [r1]!
421 next_tweak q5, q4, q15, q10
422 veor q0, q0, q4
423 next_tweak q6, q5, q15, q10
424 veor q1, q1, q5
425 next_tweak q7, q6, q15, q10
426 veor q2, q2, q6
427 veor q3, q3, q7
428 bl aes_encrypt_4x
429 veor q0, q0, q4
430 veor q1, q1, q5
431 veor q2, q2, q6
432 veor q3, q3, q7
433 vst1.8 {q0-q1}, [r0]! @ write 4 ct blocks
434 vst1.8 {q2-q3}, [r0]!
435 vmov q4, q7
436 teq r4, #0
437 beq .Lxtsencret
438 b .Lxtsencloop4x
439 .Lxtsenc1x:
440 adds r4, r4, #64
441 beq .Lxtsencout
442 subs r4, r4, #16
443 bmi .LxtsencctsNx
444 .Lxtsencloop:
445 vld1.8 {q0}, [r1]!
446 .Lxtsencctsout:
447 veor q0, q0, q4
448 bl aes_encrypt
449 veor q0, q0, q4
450 teq r4, #0
451 beq .Lxtsencout
452 subs r4, r4, #16
453 next_tweak q4, q4, q15, q6
454 bmi .Lxtsenccts
455 vst1.8 {q0}, [r0]!
456 b .Lxtsencloop
457 .Lxtsencout:
458 vst1.8 {q0}, [r0]
459 .Lxtsencret:
460 vst1.8 {q4}, [r5]
461 pop {r4-r6, pc}
462
463 .LxtsencctsNx:
464 vmov q0, q3
465 sub r0, r0, #16
466 .Lxtsenccts:
> 467 movw ip, :lower16:.Lcts_permute_table
> 468 movt ip, :upper16:.Lcts_permute_table
469
470 add r1, r1, r4 @ rewind input pointer
471 add r4, r4, #16 @ # bytes in final block
472 add lr, ip, #32
473 add ip, ip, r4
474 sub lr, lr, r4
475 add r4, r0, r4 @ output address of final block
476
477 vld1.8 {q1}, [r1] @ load final partial block
478 vld1.8 {q2}, [ip]
479 vld1.8 {q3}, [lr]
480
481 vtbl.8 d4, {d0-d1}, d4
482 vtbl.8 d5, {d0-d1}, d5
483 vtbx.8 d0, {d2-d3}, d6
484 vtbx.8 d1, {d2-d3}, d7
485
486 vst1.8 {q2}, [r4] @ overlapping stores
487 mov r4, #0
488 b .Lxtsencctsout
489 ENDPROC(ce_aes_xts_encrypt)
490
491
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 6 months
[arnd-playground:randconfig-5.4 255/337] drivers/input/misc/ixp4xx-beeper.c:61:21: warning: cast from pointer to integer of different size
by kbuild test robot
Hi Arnd,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-5.4
head: 2ad05693a0a25f4fdfd99eaf2cbefa3831bf47e7
commit: 0d686dec5d38dc272412c9f4365e325798d386f9 [255/337] Input: ixp4xx-beeper: pass resources as platform data
config: s390-allmodconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 0d686dec5d38dc272412c9f4365e325798d386f9
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_event':
>> drivers/input/misc/ixp4xx-beeper.c:61:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
unsigned int pin = (unsigned int) input_get_drvdata(dev);
^
drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_interrupt':
drivers/input/misc/ixp4xx-beeper.c:87:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
unsigned int pin = (unsigned int) dev_id;
^
drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_probe':
drivers/input/misc/ixp4xx-beeper.c:109:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
input_set_drvdata(input_dev, (void *) dev->id);
^
drivers/input/misc/ixp4xx-beeper.c:149:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void *) dev->id);
^
drivers/input/misc/ixp4xx-beeper.c:163:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
free_irq(irq, (void *)dev->id);
^
drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_remove':
drivers/input/misc/ixp4xx-beeper.c:175:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
unsigned int pin = (unsigned int) input_get_drvdata(input_dev);
^
drivers/input/misc/ixp4xx-beeper.c:183:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
free_irq(ixp4xx_timer2_irq, (void *)dev->id);
^
drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_shutdown':
drivers/input/misc/ixp4xx-beeper.c:192:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
unsigned int pin = (unsigned int) input_get_drvdata(input_dev);
^
vim +61 drivers/input/misc/ixp4xx-beeper.c
01387959022def Alessandro Zummo 2006-01-29 58
01387959022def Alessandro Zummo 2006-01-29 59 static int ixp4xx_spkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
01387959022def Alessandro Zummo 2006-01-29 60 {
643bd27298bdcc Frederik Deweerdt 2007-05-10 @61 unsigned int pin = (unsigned int) input_get_drvdata(dev);
01387959022def Alessandro Zummo 2006-01-29 62 unsigned int count = 0;
01387959022def Alessandro Zummo 2006-01-29 63
01387959022def Alessandro Zummo 2006-01-29 64 if (type != EV_SND)
01387959022def Alessandro Zummo 2006-01-29 65 return -1;
01387959022def Alessandro Zummo 2006-01-29 66
01387959022def Alessandro Zummo 2006-01-29 67 switch (code) {
01387959022def Alessandro Zummo 2006-01-29 68 case SND_BELL:
01387959022def Alessandro Zummo 2006-01-29 69 if (value)
01387959022def Alessandro Zummo 2006-01-29 70 value = 1000;
01387959022def Alessandro Zummo 2006-01-29 71 case SND_TONE:
01387959022def Alessandro Zummo 2006-01-29 72 break;
01387959022def Alessandro Zummo 2006-01-29 73 default:
01387959022def Alessandro Zummo 2006-01-29 74 return -1;
01387959022def Alessandro Zummo 2006-01-29 75 }
01387959022def Alessandro Zummo 2006-01-29 76
01387959022def Alessandro Zummo 2006-01-29 77 if (value > 20 && value < 32767)
0d686dec5d38dc Arnd Bergmann 2019-08-26 78 count = (ixp4xx_spkr_timer_freq / (value * 4)) - 1;
01387959022def Alessandro Zummo 2006-01-29 79
01387959022def Alessandro Zummo 2006-01-29 80 ixp4xx_spkr_control(pin, count);
01387959022def Alessandro Zummo 2006-01-29 81
01387959022def Alessandro Zummo 2006-01-29 82 return 0;
01387959022def Alessandro Zummo 2006-01-29 83 }
01387959022def Alessandro Zummo 2006-01-29 84
:::::: The code at line 61 was first introduced by commit
:::::: 643bd27298bdcc4e75b3e6a7ca459675eb5378c3 Fix ixp4xx compile error
:::::: TO: Frederik Deweerdt <deweerdt(a)free.fr>
:::::: CC: Linus Torvalds <torvalds(a)woody.linux-foundation.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 6 months
[arnd-playground:randconfig-5.4 11/337] fs/reiserfs/prints.o: warning: objtool: __reiserfs_error()+0x110: unreachable instruction
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-5.4
head: 2ad05693a0a25f4fdfd99eaf2cbefa3831bf47e7
commit: 7cdb586b882e98fc24604fcd7d4f3c91375f0d6e [11/337] [SUBMITTED 20190718] reiserfs: fix code unwinding with clang
config: x86_64-randconfig-a004-201939 (attached as .config)
compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
reproduce:
git checkout 7cdb586b882e98fc24604fcd7d4f3c91375f0d6e
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> fs/reiserfs/do_balan.o: warning: objtool: get_FEB()+0xff: unreachable instruction
--
>> fs/reiserfs/namei.o: warning: objtool: entry_points_to_object()+0x8c: unreachable instruction
--
>> fs/reiserfs/ibalance.o: warning: objtool: internal_define_dest_src_infos()+0x3f0: unreachable instruction
--
>> fs/reiserfs/prints.o: warning: objtool: __reiserfs_error()+0x110: unreachable instruction
--
>> fs/reiserfs/lbalance.o: warning: objtool: leaf_move_items()+0x313: unreachable instruction
--
>> fs/reiserfs/inode.o: warning: objtool: reiserfs_update_sd_size()+0x30a: unreachable instruction
--
>> fs/reiserfs/fix_node.o: warning: objtool: create_virtual_node()+0x275: unreachable instruction
--
>> fs/reiserfs/stree.o: warning: objtool: reiserfs_cut_from_item()+0x2e2: unreachable instruction
--
>> fs/reiserfs/tail_conversion.o: warning: objtool: direct2indirect()+0x556: unreachable instruction
--
>> fs/reiserfs/item_ops.o: warning: objtool: direntry_check_left()+0xdd: unreachable instruction
--
>> fs/reiserfs/journal.o: warning: objtool: flush_commit_list()+0x57b: unreachable instruction
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 6 months
[frank-w-bpi-r2-4.14:5.4-r64-rc 6/16] drivers/net/phy/rtk/./rtl8367c/include/rtk_switch.h:21:10: fatal error: rtk_types.h: No such file or directory
by kbuild test robot
tree: https://github.com/frank-w/BPI-R2-4.14 5.4-r64-rc
head: 04d315a10a6d4697c169f1b57c7ad4a41150985e
commit: 810664cc290092b0c9fde935f1bf75aee787801b [6/16] net: phy: add rtl8367 switch phy
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 810664cc290092b0c9fde935f1bf75aee787801b
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/net/phy/rtk/rtl8367s_mdio.c:24:0:
>> drivers/net/phy/rtk/./rtl8367c/include/rtk_switch.h:21:10: fatal error: rtk_types.h: No such file or directory
#include <rtk_types.h>
^~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/acl.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/cpu.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/dot1x.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/eee.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/igmp.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/interrupt.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/l2.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/leaky.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/led.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
--
>> drivers/net/phy/rtk/rtl8367c/mirror.c:18:10: fatal error: rtk_switch.h: No such file or directory
#include <rtk_switch.h>
^~~~~~~~~~~~~~
compilation terminated.
..
vim +21 drivers/net/phy/rtk/./rtl8367c/include/rtk_switch.h
20
> 21 #include <rtk_types.h>
22
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
1 year, 6 months