drivers/ptp/ptp_clockmatrix.c:2179: undefined reference to `__udivdi3'
by kernel test robot
tree: https://github.com/0day-ci/linux/commits/min-li-xe-renesas-com/ptp-clockm...
head: cffaee07726f4bfb624fff0f4a35e0102026bf6f
commit: cffaee07726f4bfb624fff0f4a35e0102026bf6f ptp: clockmatrix: use rsmu driver to access i2c/spi bus
date: 7 weeks ago
config: i386-randconfig-a011-20210928 (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/cffaee07726f4bfb624fff0f4a35e0102...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review min-li-xe-renesas-com/ptp-clockmatrix-use-rsmu-driver-to-access-i2c-spi-bus/20210922-152050
git checkout cffaee07726f4bfb624fff0f4a35e0102026bf6f
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 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 >>):
ld: drivers/ptp/ptp_clockmatrix.o: in function `idtcm_get_dco_delay':
>> drivers/ptp/ptp_clockmatrix.c:2179: undefined reference to `__udivdi3'
>> ld: drivers/ptp/ptp_clockmatrix.c:2182: undefined reference to `__udivdi3'
vim +2179 drivers/ptp/ptp_clockmatrix.c
2148
2149 /*
2150 * Compensate for the PTP DCO input-to-output delay.
2151 * This delay is 18 FOD cycles.
2152 */
2153 static u32 idtcm_get_dco_delay(struct idtcm_channel *channel)
2154 {
2155 struct idtcm *idtcm = channel->idtcm;
2156 u8 mbuf[8] = {0};
2157 u8 nbuf[2] = {0};
2158 u32 fodFreq;
2159 int err;
2160 u64 m;
2161 u16 n;
2162
2163 err = idtcm_read(idtcm, channel->dpll_ctrl_n,
2164 DPLL_CTRL_DPLL_FOD_FREQ, mbuf, 6);
2165 if (err)
2166 return 0;
2167
2168 err = idtcm_read(idtcm, channel->dpll_ctrl_n,
2169 DPLL_CTRL_DPLL_FOD_FREQ + 6, nbuf, 2);
2170 if (err)
2171 return 0;
2172
2173 m = get_unaligned_le64(mbuf);
2174 n = get_unaligned_le16(nbuf);
2175
2176 if (n == 0)
2177 n = 1;
2178
> 2179 fodFreq = m / n;
2180
2181 if (fodFreq >= 500000000)
> 2182 return 18 * (u64)NSEC_PER_SEC / fodFreq;
2183
2184 return 0;
2185 }
2186
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[arm:clearfog 2/13] drivers/net/dsa/mv88e6xxx/mv88e6xxx_debugfs.c:52:12: error: '_mv88e6xxx_pvt_read' defined but not used
by kernel test robot
Hi Russell,
First bad commit (maybe != root cause):
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git clearfog
head: 81fa62b801fcff2960aaf3ae50d586e84ad41fb1
commit: 79d4556027c96d9cb569bf50ae889fd148344999 [2/13] net: dsa: mv88e6xxx: debugfs hacks to fix the compile
config: nios2-allyesconfig (attached as .config)
compiler: nios2-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
git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
git fetch --no-tags arm clearfog
git checkout 79d4556027c96d9cb569bf50ae889fd148344999
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2
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 >>):
In file included from drivers/net/dsa/mv88e6xxx/chip.c:3164:
>> drivers/net/dsa/mv88e6xxx/mv88e6xxx_debugfs.c:52:12: error: '_mv88e6xxx_pvt_read' defined but not used [-Werror=unused-function]
52 | static int _mv88e6xxx_pvt_read(struct mv88e6xxx_chip *chip, int src_dev,
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/_mv88e6xxx_pvt_read +52 drivers/net/dsa/mv88e6xxx/mv88e6xxx_debugfs.c
fe8a2a1725d821 Vivien Didelot 2015-10-22 51
fe8a2a1725d821 Vivien Didelot 2015-10-22 @52 static int _mv88e6xxx_pvt_read(struct mv88e6xxx_chip *chip, int src_dev,
fe8a2a1725d821 Vivien Didelot 2015-10-22 53 int src_port, u16 *data)
fe8a2a1725d821 Vivien Didelot 2015-10-22 54 {
fe8a2a1725d821 Vivien Didelot 2015-10-22 55 int ret;
fe8a2a1725d821 Vivien Didelot 2015-10-22 56
fe8a2a1725d821 Vivien Didelot 2015-10-22 57 ret = _mv88e6xxx_pvt_wait(chip);
fe8a2a1725d821 Vivien Didelot 2015-10-22 58 if (ret < 0)
fe8a2a1725d821 Vivien Didelot 2015-10-22 59 return ret;
fe8a2a1725d821 Vivien Didelot 2015-10-22 60
fe8a2a1725d821 Vivien Didelot 2015-10-22 61 ret = _mv88e6xxx_pvt_cmd(chip, src_dev, src_port,
fe8a2a1725d821 Vivien Didelot 2015-10-22 62 GLOBAL2_PVT_ADDR_OP_READ);
fe8a2a1725d821 Vivien Didelot 2015-10-22 63 if (ret < 0)
fe8a2a1725d821 Vivien Didelot 2015-10-22 64 return ret;
fe8a2a1725d821 Vivien Didelot 2015-10-22 65
fe8a2a1725d821 Vivien Didelot 2015-10-22 66 return mv88e6xxx_g2_read(chip, GLOBAL2_PVT_DATA, data);
fe8a2a1725d821 Vivien Didelot 2015-10-22 67 }
fe8a2a1725d821 Vivien Didelot 2015-10-22 68
:::::: The code at line 52 was first introduced by commit
:::::: fe8a2a1725d821bb81755cefe6483985aee89fba net: dsa: mv88e6xxx: add debugfs interface
:::::: TO: Vivien Didelot <vivien.didelot(a)savoirfairelinux.com>
:::::: CC: Russell King (Oracle) <rmk+kernel(a)armlinux.org.uk>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[meghadey-crypto:crypto-avx512 5/6] arch/x86/crypto/aesni-intel_glue.c:725 gcmaes_crypt_by_sg() warn: possible memory leak of 'data'
by Dan Carpenter
tree: https://github.com/meghadey/crypto crypto-avx512
head: 9c8c2ca77f6e2575a130bddb9767d068e1162d71
commit: 377aede9f10ee28be954473668bc6d33c6c9db75 [5/6] crypto: aesni - AVX512 version of AESNI-GCM using VPCLMULQDQ
config: x86_64-randconfig-m001-20210930 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
arch/x86/crypto/aesni-intel_glue.c:725 gcmaes_crypt_by_sg() warn: possible memory leak of 'data'
vim +/data +725 arch/x86/crypto/aesni-intel_glue.c
e845520707f85c Dave Watson 2018-02-14 677 static int gcmaes_crypt_by_sg(bool enc, struct aead_request *req,
e845520707f85c Dave Watson 2018-02-14 678 unsigned int assoclen, u8 *hash_subkey,
83c83e658863e4 Ard Biesheuvel 2021-01-04 679 u8 *iv, void *aes_ctx, u8 *auth_tag,
83c83e658863e4 Ard Biesheuvel 2021-01-04 680 unsigned long auth_tag_len)
e845520707f85c Dave Watson 2018-02-14 681 {
a13ed1d15b07a0 Ard Biesheuvel 2021-01-04 682 u8 databuf[sizeof(struct gcm_context_data) + (AESNI_ALIGN - 8)] __aligned(8);
a13ed1d15b07a0 Ard Biesheuvel 2021-01-04 683 struct gcm_context_data *data = PTR_ALIGN((void *)databuf, AESNI_ALIGN);
e845520707f85c Dave Watson 2018-02-14 684 unsigned long left = req->cryptlen;
e845520707f85c Dave Watson 2018-02-14 685 struct scatter_walk assoc_sg_walk;
83c83e658863e4 Ard Biesheuvel 2021-01-04 686 struct skcipher_walk walk;
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 687 bool do_avx, do_avx2;
e845520707f85c Dave Watson 2018-02-14 688 u8 *assocmem = NULL;
83c83e658863e4 Ard Biesheuvel 2021-01-04 689 u8 *assoc;
83c83e658863e4 Ard Biesheuvel 2021-01-04 690 int err;
377aede9f10ee2 Megha Dey 2021-01-20 691 int hash_key_size;
377aede9f10ee2 Megha Dey 2021-01-20 692
377aede9f10ee2 Megha Dey 2021-01-20 693 if (static_branch_likely(&gcm_use_avx512))
377aede9f10ee2 Megha Dey 2021-01-20 694 hash_key_size = 16 * GCM_AVX512_NUM_HASH_KEYS;
377aede9f10ee2 Megha Dey 2021-01-20 695 else
377aede9f10ee2 Megha Dey 2021-01-20 696 hash_key_size = 16 * GCM_BLOCK_LEN;
377aede9f10ee2 Megha Dey 2021-01-20 697
377aede9f10ee2 Megha Dey 2021-01-20 698 /* Allocate gcm_context_data structure on the heap. With the
377aede9f10ee2 Megha Dey 2021-01-20 699 * VPCLMULQDQ version of GCM needing 48 hashkeys, allocating
377aede9f10ee2 Megha Dey 2021-01-20 700 * this structure on the stack will inflate its size significantly.
377aede9f10ee2 Megha Dey 2021-01-20 701 */
377aede9f10ee2 Megha Dey 2021-01-20 702 data = kzalloc(sizeof(*data) + hash_key_size, GFP_KERNEL);
377aede9f10ee2 Megha Dey 2021-01-20 703 if (!data) {
377aede9f10ee2 Megha Dey 2021-01-20 704 kfree(data);
No need for this kfree.
377aede9f10ee2 Megha Dey 2021-01-20 705 return -ENOMEM;
377aede9f10ee2 Megha Dey 2021-01-20 706 }
e845520707f85c Dave Watson 2018-02-14 707
e845520707f85c Dave Watson 2018-02-14 708 if (!enc)
e845520707f85c Dave Watson 2018-02-14 709 left -= auth_tag_len;
e845520707f85c Dave Watson 2018-02-14 710
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 711 do_avx = (left >= AVX_GEN2_OPTSIZE);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 712 do_avx2 = (left >= AVX_GEN4_OPTSIZE);
603f8c3b0dbbe2 Dave Watson 2018-12-10 713
e845520707f85c Dave Watson 2018-02-14 714 /* Linearize assoc, if not already linear */
2694e23ffd210c Ard Biesheuvel 2021-01-04 715 if (req->src->length >= assoclen && req->src->length) {
e845520707f85c Dave Watson 2018-02-14 716 scatterwalk_start(&assoc_sg_walk, req->src);
e845520707f85c Dave Watson 2018-02-14 717 assoc = scatterwalk_map(&assoc_sg_walk);
e845520707f85c Dave Watson 2018-02-14 718 } else {
2694e23ffd210c Ard Biesheuvel 2021-01-04 719 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
2694e23ffd210c Ard Biesheuvel 2021-01-04 720 GFP_KERNEL : GFP_ATOMIC;
2694e23ffd210c Ard Biesheuvel 2021-01-04 721
e845520707f85c Dave Watson 2018-02-14 722 /* assoc can be any length, so must be on heap */
2694e23ffd210c Ard Biesheuvel 2021-01-04 723 assocmem = kmalloc(assoclen, flags);
e845520707f85c Dave Watson 2018-02-14 724 if (unlikely(!assocmem))
e845520707f85c Dave Watson 2018-02-14 @725 return -ENOMEM;
"data" leaked on this path and the next.
e845520707f85c Dave Watson 2018-02-14 726 assoc = assocmem;
e845520707f85c Dave Watson 2018-02-14 727
e845520707f85c Dave Watson 2018-02-14 728 scatterwalk_map_and_copy(assoc, req->src, 0, assoclen, 0);
e845520707f85c Dave Watson 2018-02-14 729 }
e845520707f85c Dave Watson 2018-02-14 730
e845520707f85c Dave Watson 2018-02-14 731 kernel_fpu_begin();
377aede9f10ee2 Megha Dey 2021-01-20 732
377aede9f10ee2 Megha Dey 2021-01-20 733 if (static_branch_likely(&gcm_use_avx512) &&
377aede9f10ee2 Megha Dey 2021-01-20 734 IS_ENABLED(CONFIG_CRYPTO_AES_GCM_AVX512))
377aede9f10ee2 Megha Dey 2021-01-20 735 aesni_gcm_init_avx_512(aes_ctx, data, iv, hash_subkey, assoc,
377aede9f10ee2 Megha Dey 2021-01-20 736 assoclen);
377aede9f10ee2 Megha Dey 2021-01-20 737 else if (static_branch_likely(&gcm_use_avx2) && do_avx2)
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 738 aesni_gcm_init_avx_gen4(aes_ctx, data, iv, hash_subkey, assoc,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 739 assoclen);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 740 else if (static_branch_likely(&gcm_use_avx) && do_avx)
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 741 aesni_gcm_init_avx_gen2(aes_ctx, data, iv, hash_subkey, assoc,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 742 assoclen);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 743 else
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 744 aesni_gcm_init(aes_ctx, data, iv, hash_subkey, assoc, assoclen);
e845520707f85c Dave Watson 2018-02-14 745 kernel_fpu_end();
e845520707f85c Dave Watson 2018-02-14 746
e845520707f85c Dave Watson 2018-02-14 747 if (!assocmem)
e845520707f85c Dave Watson 2018-02-14 748 scatterwalk_unmap(assoc);
e845520707f85c Dave Watson 2018-02-14 749 else
e845520707f85c Dave Watson 2018-02-14 750 kfree(assocmem);
e845520707f85c Dave Watson 2018-02-14 751
83c83e658863e4 Ard Biesheuvel 2021-01-04 752 err = enc ? skcipher_walk_aead_encrypt(&walk, req, false)
83c83e658863e4 Ard Biesheuvel 2021-01-04 753 : skcipher_walk_aead_decrypt(&walk, req, false);
e845520707f85c Dave Watson 2018-02-14 754
83c83e658863e4 Ard Biesheuvel 2021-01-04 755 while (walk.nbytes > 0) {
83c83e658863e4 Ard Biesheuvel 2021-01-04 756 kernel_fpu_begin();
377aede9f10ee2 Megha Dey 2021-01-20 757 if (static_branch_likely(&gcm_use_avx512)
377aede9f10ee2 Megha Dey 2021-01-20 758 && IS_ENABLED(CONFIG_CRYPTO_AES_GCM_AVX512)) {
377aede9f10ee2 Megha Dey 2021-01-20 759 if (enc)
377aede9f10ee2 Megha Dey 2021-01-20 760 aesni_gcm_enc_update_avx_512(aes_ctx, data,
377aede9f10ee2 Megha Dey 2021-01-20 761 walk.dst.virt.addr,
377aede9f10ee2 Megha Dey 2021-01-20 762 walk.src.virt.addr,
377aede9f10ee2 Megha Dey 2021-01-20 763 walk.nbytes);
377aede9f10ee2 Megha Dey 2021-01-20 764 else
377aede9f10ee2 Megha Dey 2021-01-20 765 aesni_gcm_dec_update_avx_512(aes_ctx, data,
377aede9f10ee2 Megha Dey 2021-01-20 766 walk.dst.virt.addr,
377aede9f10ee2 Megha Dey 2021-01-20 767 walk.src.virt.addr,
377aede9f10ee2 Megha Dey 2021-01-20 768 walk.nbytes);
377aede9f10ee2 Megha Dey 2021-01-20 769 } else if (static_branch_likely(&gcm_use_avx2) && do_avx2) {
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 770 if (enc)
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 771 aesni_gcm_enc_update_avx_gen4(aes_ctx, data,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 772 walk.dst.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 773 walk.src.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 774 walk.nbytes);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 775 else
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 776 aesni_gcm_dec_update_avx_gen4(aes_ctx, data,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 777 walk.dst.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 778 walk.src.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 779 walk.nbytes);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 780 } else if (static_branch_likely(&gcm_use_avx) && do_avx) {
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 781 if (enc)
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 782 aesni_gcm_enc_update_avx_gen2(aes_ctx, data,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 783 walk.dst.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 784 walk.src.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 785 walk.nbytes);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 786 else
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 787 aesni_gcm_dec_update_avx_gen2(aes_ctx, data,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 788 walk.dst.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 789 walk.src.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 790 walk.nbytes);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 791 } else if (enc) {
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 792 aesni_gcm_enc_update(aes_ctx, data, walk.dst.virt.addr,
83c83e658863e4 Ard Biesheuvel 2021-01-04 793 walk.src.virt.addr, walk.nbytes);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 794 } else {
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 795 aesni_gcm_dec_update(aes_ctx, data, walk.dst.virt.addr,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 796 walk.src.virt.addr, walk.nbytes);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 797 }
83c83e658863e4 Ard Biesheuvel 2021-01-04 798 kernel_fpu_end();
e845520707f85c Dave Watson 2018-02-14 799
83c83e658863e4 Ard Biesheuvel 2021-01-04 800 err = skcipher_walk_done(&walk, 0);
e845520707f85c Dave Watson 2018-02-14 801 }
e845520707f85c Dave Watson 2018-02-14 802
83c83e658863e4 Ard Biesheuvel 2021-01-04 803 if (err)
83c83e658863e4 Ard Biesheuvel 2021-01-04 804 return err;
Here too.
83c83e658863e4 Ard Biesheuvel 2021-01-04 805
83c83e658863e4 Ard Biesheuvel 2021-01-04 806 kernel_fpu_begin();
377aede9f10ee2 Megha Dey 2021-01-20 807 if (static_branch_likely(&gcm_use_avx512) &&
377aede9f10ee2 Megha Dey 2021-01-20 808 IS_ENABLED(CONFIG_CRYPTO_AES_GCM_AVX512))
377aede9f10ee2 Megha Dey 2021-01-20 809 aesni_gcm_finalize_avx_512(aes_ctx, data, auth_tag,
377aede9f10ee2 Megha Dey 2021-01-20 810 auth_tag_len);
377aede9f10ee2 Megha Dey 2021-01-20 811 else if (static_branch_likely(&gcm_use_avx2) && do_avx2)
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 812 aesni_gcm_finalize_avx_gen4(aes_ctx, data, auth_tag,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 813 auth_tag_len);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 814 else if (static_branch_likely(&gcm_use_avx) && do_avx)
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 815 aesni_gcm_finalize_avx_gen2(aes_ctx, data, auth_tag,
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 816 auth_tag_len);
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 817 else
d6cbf4eaa46794 Ard Biesheuvel 2021-01-04 818 aesni_gcm_finalize(aes_ctx, data, auth_tag, auth_tag_len);
83c83e658863e4 Ard Biesheuvel 2021-01-04 819 kernel_fpu_end();
e845520707f85c Dave Watson 2018-02-14 820
377aede9f10ee2 Megha Dey 2021-01-20 821 kfree(data);
e845520707f85c Dave Watson 2018-02-14 822 return 0;
e845520707f85c Dave Watson 2018-02-14 823 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
Re: [PATCH] dm snapshot: remove unneeded variable
by kernel test robot
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on device-mapper-dm/for-next]
[also build test ERROR on v5.15 next-20211111]
[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/cgel-zte-gmail-com/dm-snapshot-r...
base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
config: ia64-defconfig (attached as .config)
compiler: ia64-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://github.com/0day-ci/linux/commit/f69a0e783035cffc39b44a355d0e0470d...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review cgel-zte-gmail-com/dm-snapshot-remove-unneeded-variable/20211111-155800
git checkout f69a0e783035cffc39b44a355d0e0470d5d63a0b
# 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=ia64 SHELL=/bin/bash drivers/md/
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 >>):
In file included from drivers/md/dm-exception-store.h:15,
from drivers/md/dm-snap-transient.c:8:
drivers/md/dm-snap-transient.c: In function 'transient_status':
>> include/linux/device-mapper.h:602:22: error: 'sz' undeclared (first use in this function); did you mean 's8'?
602 | #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
| ^~
drivers/md/dm-snap-transient.c:96:17: note: in expansion of macro 'DMEMIT'
96 | DMEMIT(" N %llu", (unsigned long long)store->chunk_size);
| ^~~~~~
include/linux/device-mapper.h:602:22: note: each undeclared identifier is reported only once for each function it appears in
602 | #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
| ^~
drivers/md/dm-snap-transient.c:96:17: note: in expansion of macro 'DMEMIT'
96 | DMEMIT(" N %llu", (unsigned long long)store->chunk_size);
| ^~~~~~
vim +602 include/linux/device-mapper.h
0da336e5fab75c Alasdair G Kergon 2008-04-24 601
0da336e5fab75c Alasdair G Kergon 2008-04-24 @602 #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
0da336e5fab75c Alasdair G Kergon 2008-04-24 603 0 : scnprintf(result + sz, maxlen - sz, x))
0da336e5fab75c Alasdair G Kergon 2008-04-24 604
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[hch-misc:dax-block-cleanup 17/28] fs/ext2/inode.c:1301:25: error: implicit declaration of function 'dax_zero_range'; did you mean 'iomap_zero_range'?
by kernel test robot
tree: git://git.infradead.org/users/hch/misc.git dax-block-cleanup
head: 20496fef46c2a719f60d21f17b1a1862e069b836
commit: 79f6e11d1b1b194d8233f414909760ca0c45005e [17/28] fsdax: decouple zeroing from the iomap buffered I/O code
config: ia64-defconfig (attached as .config)
compiler: ia64-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
git remote add hch-misc git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc dax-block-cleanup
git checkout 79f6e11d1b1b194d8233f414909760ca0c45005e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=ia64
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 >>):
fs/ext2/inode.c: In function 'ext2_setsize':
>> fs/ext2/inode.c:1301:25: error: implicit declaration of function 'dax_zero_range'; did you mean 'iomap_zero_range'? [-Werror=implicit-function-declaration]
1301 | error = dax_zero_range(inode, newsize,
| ^~~~~~~~~~~~~~
| iomap_zero_range
cc1: some warnings being treated as errors
--
fs/xfs/xfs_iomap.c: In function 'xfs_zero_range':
>> fs/xfs/xfs_iomap.c:1325:24: error: implicit declaration of function 'dax_zero_range'; did you mean 'xfs_zero_range'? [-Werror=implicit-function-declaration]
1325 | return dax_zero_range(inode, pos, len, did_zero,
| ^~~~~~~~~~~~~~
| xfs_zero_range
fs/xfs/xfs_iomap.c: In function 'xfs_truncate_page':
>> fs/xfs/xfs_iomap.c:1340:24: error: implicit declaration of function 'dax_truncate_page'; did you mean 'xfs_truncate_page'? [-Werror=implicit-function-declaration]
1340 | return dax_truncate_page(inode, pos, did_zero,
| ^~~~~~~~~~~~~~~~~
| xfs_truncate_page
cc1: some warnings being treated as errors
vim +1301 fs/ext2/inode.c
1285
1286 static int ext2_setsize(struct inode *inode, loff_t newsize)
1287 {
1288 int error;
1289
1290 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
1291 S_ISLNK(inode->i_mode)))
1292 return -EINVAL;
1293 if (ext2_inode_is_fast_symlink(inode))
1294 return -EINVAL;
1295 if (IS_APPEND(inode) || IS_IMMUTABLE(inode))
1296 return -EPERM;
1297
1298 inode_dio_wait(inode);
1299
1300 if (IS_DAX(inode)) {
> 1301 error = dax_zero_range(inode, newsize,
1302 PAGE_ALIGN(newsize) - newsize, NULL,
1303 &ext2_iomap_ops);
1304 } else if (test_opt(inode->i_sb, NOBH))
1305 error = nobh_truncate_page(inode->i_mapping,
1306 newsize, ext2_get_block);
1307 else
1308 error = block_truncate_page(inode->i_mapping,
1309 newsize, ext2_get_block);
1310 if (error)
1311 return error;
1312
1313 filemap_invalidate_lock(inode->i_mapping);
1314 truncate_setsize(inode, newsize);
1315 __ext2_truncate_blocks(inode, newsize);
1316 filemap_invalidate_unlock(inode->i_mapping);
1317
1318 inode->i_mtime = inode->i_ctime = current_time(inode);
1319 if (inode_needs_sync(inode)) {
1320 sync_mapping_buffers(inode->i_mapping);
1321 sync_inode_metadata(inode, 1);
1322 } else {
1323 mark_inode_dirty(inode);
1324 }
1325
1326 return 0;
1327 }
1328
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
litex_liteeth.c:undefined reference to `devm_platform_ioremap_resource_byname'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: debe436e77c72fcee804fb867f275e6d31aa999c
commit: 464a57281f29afc202905b456b0cb8bc729b383a net/mlxbf_gige: Make use of devm_platform_ioremap_resourcexxx()
date: 2 months ago
config: s390-randconfig-r013-20211027 (attached as .config)
compiler: s390-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 464a57281f29afc202905b456b0cb8bc729b383a
# 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=s390 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 >>):
s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x78): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x15a): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x53e): undefined reference to `memunmap'
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x2c): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x266): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/litex/litex_liteeth.o: in function `liteeth_probe':
>> litex_liteeth.c:(.text+0x43e): undefined reference to `devm_platform_ioremap_resource_byname'
>> s390-linux-ld: litex_liteeth.c:(.text+0x490): undefined reference to `devm_platform_ioremap_resource_byname'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
Re: [RFC PATCH v4 5/8] leds: trigger: netdev: add hardware control support
by kernel test robot
Hi Ansuel,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net/master]
[also build test ERROR on linus/master next-20211111]
[cannot apply to pavel-leds/for-next robh/for-next net-next/master v5.15]
[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/Ansuel-Smith/Adds-support-for-PH...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git e5d5aadcf3cd59949316df49c27cb21788d7efe4
config: riscv-buildonly-randconfig-r002-20211111 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 63ef0e17e28827eae53133b3467bdac7d9729318)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/0day-ci/linux/commit/9d84c5c79622ad5b17b116d01303f74a4...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ansuel-Smith/Adds-support-for-PHY-LEDs-with-offload-triggers/20211111-093724
git checkout 9d84c5c79622ad5b17b116d01303f74a4ae94d10
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ drivers/gpu/drm/ drivers/leds/trigger/ net/core/
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 >>):
>> drivers/leds/trigger/ledtrig-netdev.c:61:14: error: no member named 'hw_control_start' in 'struct led_classdev'
led_cdev->hw_control_start(led_cdev);
~~~~~~~~ ^
1 error generated.
vim +61 drivers/leds/trigger/ledtrig-netdev.c
44
45 static void set_baseline_state(struct led_netdev_data *trigger_data)
46 {
47 int current_brightness, can_offload;
48 struct led_classdev *led_cdev = trigger_data->led_cdev;
49
50 if (LED_HARDWARE_CONTROLLED & led_cdev->flags) {
51 /* Check if blink mode can he set in hardware mode.
52 * The LED driver will chose a interval based on the trigger_data
53 * and its implementation.
54 */
55 can_offload = led_cdev->blink_set(led_cdev, 0, 0);
56
57 /* If blink_set doesn't return error we can run in hardware mode
58 * So actually activate it.
59 */
60 if (!can_offload) {
> 61 led_cdev->hw_control_start(led_cdev);
62 return;
63 }
64 }
65
66 /* If LED supports only hardware mode and we reach this point,
67 * then skip any software handling.
68 */
69 if (!(LED_SOFTWARE_CONTROLLED & led_cdev->flags))
70 return;
71
72 current_brightness = led_cdev->brightness;
73 if (current_brightness)
74 led_cdev->blink_brightness = current_brightness;
75 if (!led_cdev->blink_brightness)
76 led_cdev->blink_brightness = led_cdev->max_brightness;
77
78 if (!trigger_data->carrier_link_up) {
79 led_set_brightness(led_cdev, LED_OFF);
80 } else {
81 if (test_bit(TRIGGER_NETDEV_LINK, &trigger_data->mode))
82 led_set_brightness(led_cdev,
83 led_cdev->blink_brightness);
84 else
85 led_set_brightness(led_cdev, LED_OFF);
86
87 /* If we are looking for RX/TX start periodically
88 * checking stats
89 */
90 if (test_bit(TRIGGER_NETDEV_TX, &trigger_data->mode) ||
91 test_bit(TRIGGER_NETDEV_RX, &trigger_data->mode))
92 schedule_delayed_work(&trigger_data->work, 0);
93 }
94 }
95
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
Re: [PATCH v2] ext4: fix a possible ABBA deadlock dued to busy PA
by kernel test robot
Hi Chunguang,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tytso-ext4/dev]
[also build test WARNING on v5.15 next-20211109]
[cannot apply to tytso-fscrypt/master]
[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/brookxu/ext4-fix-a-possible-ABBA...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
config: i386-randconfig-c001-20210929 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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://github.com/0day-ci/linux/commit/5e956ecab47126f1d065a1ac6e6d5077e...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review brookxu/ext4-fix-a-possible-ABBA-deadlock-dued-to-busy-PA/20210929-091410
git checkout 5e956ecab47126f1d065a1ac6e6d5077e02e6f87
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 clang-analyzer
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
clang-analyzer warnings: (new ones prefixed by >>)
>> fs/ext4/mballoc.c:4849:3: warning: Value stored to 'needed' is never read [clang-analyzer-deadcode.DeadStores]
needed = EXT4_CLUSTERS_PER_GROUP(sb) + 1;
^
vim +/needed +4849 fs/ext4/mballoc.c
c9de560ded61faa Alex Tomas 2008-01-29 4805
c9de560ded61faa Alex Tomas 2008-01-29 4806 /*
c9de560ded61faa Alex Tomas 2008-01-29 4807 * releases all preallocations in given group
c9de560ded61faa Alex Tomas 2008-01-29 4808 *
c9de560ded61faa Alex Tomas 2008-01-29 4809 * first, we need to decide discard policy:
c9de560ded61faa Alex Tomas 2008-01-29 4810 * - when do we discard
c9de560ded61faa Alex Tomas 2008-01-29 4811 * 1) ENOSPC
c9de560ded61faa Alex Tomas 2008-01-29 4812 * - how many do we discard
c9de560ded61faa Alex Tomas 2008-01-29 4813 * 1) how many requested
c9de560ded61faa Alex Tomas 2008-01-29 4814 */
4ddfef7b41aebbb Eric Sandeen 2008-04-29 4815 static noinline_for_stack int
4ddfef7b41aebbb Eric Sandeen 2008-04-29 4816 ext4_mb_discard_group_preallocations(struct super_block *sb,
5e956ecab47126f Chunguang Xu 2021-09-29 4817 ext4_group_t group, int needed, int *busy)
c9de560ded61faa Alex Tomas 2008-01-29 4818 {
c9de560ded61faa Alex Tomas 2008-01-29 4819 struct ext4_group_info *grp = ext4_get_group_info(sb, group);
c9de560ded61faa Alex Tomas 2008-01-29 4820 struct buffer_head *bitmap_bh = NULL;
c9de560ded61faa Alex Tomas 2008-01-29 4821 struct ext4_prealloc_space *pa, *tmp;
c9de560ded61faa Alex Tomas 2008-01-29 4822 struct list_head list;
c9de560ded61faa Alex Tomas 2008-01-29 4823 struct ext4_buddy e4b;
c9de560ded61faa Alex Tomas 2008-01-29 4824 int err;
5e956ecab47126f Chunguang Xu 2021-09-29 4825 int free = 0;
c9de560ded61faa Alex Tomas 2008-01-29 4826
d3df14535f4a5b5 Ritesh Harjani 2020-05-10 4827 mb_debug(sb, "discard preallocation for group %u\n", group);
c9de560ded61faa Alex Tomas 2008-01-29 4828 if (list_empty(&grp->bb_prealloc_list))
bbc4ec77e9f9c7a Ritesh Harjani 2020-05-10 4829 goto out_dbg;
c9de560ded61faa Alex Tomas 2008-01-29 4830
574ca174c97f790 Theodore Ts'o 2008-07-11 4831 bitmap_bh = ext4_read_block_bitmap(sb, group);
9008a58e5dcee01 Darrick J. Wong 2015-10-17 4832 if (IS_ERR(bitmap_bh)) {
9008a58e5dcee01 Darrick J. Wong 2015-10-17 4833 err = PTR_ERR(bitmap_bh);
54d3adbc29f0c7c Theodore Ts'o 2020-03-28 4834 ext4_error_err(sb, -err,
54d3adbc29f0c7c Theodore Ts'o 2020-03-28 4835 "Error %d reading block bitmap for %u",
9008a58e5dcee01 Darrick J. Wong 2015-10-17 4836 err, group);
bbc4ec77e9f9c7a Ritesh Harjani 2020-05-10 4837 goto out_dbg;
c9de560ded61faa Alex Tomas 2008-01-29 4838 }
c9de560ded61faa Alex Tomas 2008-01-29 4839
c9de560ded61faa Alex Tomas 2008-01-29 4840 err = ext4_mb_load_buddy(sb, group, &e4b);
ce89f46cb833f89 Aneesh Kumar K.V 2008-07-23 4841 if (err) {
9651e6b2e20648d Konstantin Khlebnikov 2017-05-21 4842 ext4_warning(sb, "Error %d loading buddy information for %u",
9651e6b2e20648d Konstantin Khlebnikov 2017-05-21 4843 err, group);
ce89f46cb833f89 Aneesh Kumar K.V 2008-07-23 4844 put_bh(bitmap_bh);
bbc4ec77e9f9c7a Ritesh Harjani 2020-05-10 4845 goto out_dbg;
ce89f46cb833f89 Aneesh Kumar K.V 2008-07-23 4846 }
c9de560ded61faa Alex Tomas 2008-01-29 4847
c9de560ded61faa Alex Tomas 2008-01-29 4848 if (needed == 0)
7137d7a48e2213e Theodore Ts'o 2011-09-09 @4849 needed = EXT4_CLUSTERS_PER_GROUP(sb) + 1;
c9de560ded61faa Alex Tomas 2008-01-29 4850
c9de560ded61faa Alex Tomas 2008-01-29 4851 INIT_LIST_HEAD(&list);
c9de560ded61faa Alex Tomas 2008-01-29 4852 ext4_lock_group(sb, group);
c9de560ded61faa Alex Tomas 2008-01-29 4853 list_for_each_entry_safe(pa, tmp,
c9de560ded61faa Alex Tomas 2008-01-29 4854 &grp->bb_prealloc_list, pa_group_list) {
c9de560ded61faa Alex Tomas 2008-01-29 4855 spin_lock(&pa->pa_lock);
c9de560ded61faa Alex Tomas 2008-01-29 4856 if (atomic_read(&pa->pa_count)) {
c9de560ded61faa Alex Tomas 2008-01-29 4857 spin_unlock(&pa->pa_lock);
5e956ecab47126f Chunguang Xu 2021-09-29 4858 *busy = 1;
c9de560ded61faa Alex Tomas 2008-01-29 4859 continue;
c9de560ded61faa Alex Tomas 2008-01-29 4860 }
c9de560ded61faa Alex Tomas 2008-01-29 4861 if (pa->pa_deleted) {
c9de560ded61faa Alex Tomas 2008-01-29 4862 spin_unlock(&pa->pa_lock);
c9de560ded61faa Alex Tomas 2008-01-29 4863 continue;
c9de560ded61faa Alex Tomas 2008-01-29 4864 }
c9de560ded61faa Alex Tomas 2008-01-29 4865
c9de560ded61faa Alex Tomas 2008-01-29 4866 /* seems this one can be freed ... */
27bc446e2def38d brookxu 2020-08-17 4867 ext4_mb_mark_pa_deleted(sb, pa);
c9de560ded61faa Alex Tomas 2008-01-29 4868
70022da804f0f3f Ye Bin 2020-09-16 4869 if (!free)
70022da804f0f3f Ye Bin 2020-09-16 4870 this_cpu_inc(discard_pa_seq);
70022da804f0f3f Ye Bin 2020-09-16 4871
c9de560ded61faa Alex Tomas 2008-01-29 4872 /* we can trust pa_free ... */
c9de560ded61faa Alex Tomas 2008-01-29 4873 free += pa->pa_free;
c9de560ded61faa Alex Tomas 2008-01-29 4874
c9de560ded61faa Alex Tomas 2008-01-29 4875 spin_unlock(&pa->pa_lock);
c9de560ded61faa Alex Tomas 2008-01-29 4876
c9de560ded61faa Alex Tomas 2008-01-29 4877 list_del(&pa->pa_group_list);
c9de560ded61faa Alex Tomas 2008-01-29 4878 list_add(&pa->u.pa_tmp_list, &list);
c9de560ded61faa Alex Tomas 2008-01-29 4879 }
c9de560ded61faa Alex Tomas 2008-01-29 4880
c9de560ded61faa Alex Tomas 2008-01-29 4881 /* now free all selected PAs */
c9de560ded61faa Alex Tomas 2008-01-29 4882 list_for_each_entry_safe(pa, tmp, &list, u.pa_tmp_list) {
c9de560ded61faa Alex Tomas 2008-01-29 4883
c9de560ded61faa Alex Tomas 2008-01-29 4884 /* remove from object (inode or locality group) */
c9de560ded61faa Alex Tomas 2008-01-29 4885 spin_lock(pa->pa_obj_lock);
c9de560ded61faa Alex Tomas 2008-01-29 4886 list_del_rcu(&pa->pa_inode_list);
c9de560ded61faa Alex Tomas 2008-01-29 4887 spin_unlock(pa->pa_obj_lock);
c9de560ded61faa Alex Tomas 2008-01-29 4888
cc0fb9ad7dbc5a1 Aneesh Kumar K.V 2009-03-27 4889 if (pa->pa_type == MB_GROUP_PA)
3e1e5f501632460 Eric Sandeen 2010-10-27 4890 ext4_mb_release_group_pa(&e4b, pa);
c9de560ded61faa Alex Tomas 2008-01-29 4891 else
3e1e5f501632460 Eric Sandeen 2010-10-27 4892 ext4_mb_release_inode_pa(&e4b, bitmap_bh, pa);
c9de560ded61faa Alex Tomas 2008-01-29 4893
c9de560ded61faa Alex Tomas 2008-01-29 4894 list_del(&pa->u.pa_tmp_list);
c9de560ded61faa Alex Tomas 2008-01-29 4895 call_rcu(&(pa)->u.pa_rcu, ext4_mb_pa_callback);
c9de560ded61faa Alex Tomas 2008-01-29 4896 }
c9de560ded61faa Alex Tomas 2008-01-29 4897
c9de560ded61faa Alex Tomas 2008-01-29 4898 ext4_unlock_group(sb, group);
e39e07fdfd98be8 Jing Zhang 2010-05-14 4899 ext4_mb_unload_buddy(&e4b);
c9de560ded61faa Alex Tomas 2008-01-29 4900 put_bh(bitmap_bh);
bbc4ec77e9f9c7a Ritesh Harjani 2020-05-10 4901 out_dbg:
d3df14535f4a5b5 Ritesh Harjani 2020-05-10 4902 mb_debug(sb, "discarded (%d) blocks preallocated for group %u bb_free (%d)\n",
5e956ecab47126f Chunguang Xu 2021-09-29 4903 free, group, grp->bb_free);
5e956ecab47126f Chunguang Xu 2021-09-29 4904 return free;
c9de560ded61faa Alex Tomas 2008-01-29 4905 }
c9de560ded61faa Alex Tomas 2008-01-29 4906
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week