[kbuild] Re: [RFCv3 05/15] tcp: authopt: Add crypto initialization

2021-08-27 Thread kernel test robot
CC: kbuild-...@lists.01.org
In-Reply-To: 

References: 

TO: Leonard Crestez 

Hi Leonard,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on 3a62c333497b164868fdcd241842a1dd4e331825]

url:
https://github.com/0day-ci/linux/commits/Leonard-Crestez/tcp-Initial-support-for-RFC5925-auth-option/20210825-053714
base:   3a62c333497b164868fdcd241842a1dd4e331825
:: branch date: 3 days ago
:: commit date: 3 days ago
config: x86_64-rhel-8.3-kselftests (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
# 
https://github.com/0day-ci/linux/commit/5913479e836ff09dd831385883853e40af12fef8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review 
Leonard-Crestez/tcp-Initial-support-for-RFC5925-auth-option/20210825-053714
git checkout 5913479e836ff09dd831385883853e40af12fef8
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir 
ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot 


sparse warnings: (new ones prefixed by >>)
>> net/ipv4/tcp_authopt.c:128:9: sparse: sparse: context imbalance in 
>> 'tcp_authopt_alg_get_tfm' - wrong count at exit
   net/ipv4/tcp_authopt.c:134:9: sparse: sparse: context imbalance in 
'tcp_authopt_alg_put_tfm' - unexpected unlock

vim +/tcp_authopt_alg_get_tfm +128 net/ipv4/tcp_authopt.c

5913479e836ff0 Leonard Crestez 2021-08-25  124  
5913479e836ff0 Leonard Crestez 2021-08-25  125  static struct crypto_shash 
*tcp_authopt_alg_get_tfm(struct tcp_authopt_alg_imp *alg)
5913479e836ff0 Leonard Crestez 2021-08-25  126  {
5913479e836ff0 Leonard Crestez 2021-08-25  127  
spin_lock_bh(>lock);
5913479e836ff0 Leonard Crestez 2021-08-25 @128  WARN_ON(alg->ref_cnt < 
0);
5913479e836ff0 Leonard Crestez 2021-08-25  129  return alg->tfm;
5913479e836ff0 Leonard Crestez 2021-08-25  130  }
5913479e836ff0 Leonard Crestez 2021-08-25  131  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip
___
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org


[kbuild] Re: [RFCv3 05/15] tcp: authopt: Add crypto initialization

2021-08-26 Thread kernel test robot
CC: kbuild-...@lists.01.org
In-Reply-To: 

References: 

TO: Leonard Crestez 

Hi Leonard,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on 3a62c333497b164868fdcd241842a1dd4e331825]

url:
https://github.com/0day-ci/linux/commits/Leonard-Crestez/tcp-Initial-support-for-RFC5925-auth-option/20210825-053714
base:   3a62c333497b164868fdcd241842a1dd4e331825
:: branch date: 2 days ago
:: commit date: 2 days ago
config: x86_64-rhel-8.3-kselftests (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
# 
https://github.com/0day-ci/linux/commit/5913479e836ff09dd831385883853e40af12fef8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review 
Leonard-Crestez/tcp-Initial-support-for-RFC5925-auth-option/20210825-053714
git checkout 5913479e836ff09dd831385883853e40af12fef8
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir 
ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot 


sparse warnings: (new ones prefixed by >>)
>> net/ipv4/tcp_authopt.c:128:9: sparse: sparse: context imbalance in 
>> 'tcp_authopt_alg_get_tfm' - wrong count at exit
   net/ipv4/tcp_authopt.c:134:9: sparse: sparse: context imbalance in 
'tcp_authopt_alg_put_tfm' - unexpected unlock

vim +/tcp_authopt_alg_get_tfm +128 net/ipv4/tcp_authopt.c

5913479e836ff0 Leonard Crestez 2021-08-25  124  
5913479e836ff0 Leonard Crestez 2021-08-25  125  static struct crypto_shash 
*tcp_authopt_alg_get_tfm(struct tcp_authopt_alg_imp *alg)
5913479e836ff0 Leonard Crestez 2021-08-25  126  {
5913479e836ff0 Leonard Crestez 2021-08-25  127  
spin_lock_bh(>lock);
5913479e836ff0 Leonard Crestez 2021-08-25 @128  WARN_ON(alg->ref_cnt < 
0);
5913479e836ff0 Leonard Crestez 2021-08-25  129  return alg->tfm;
5913479e836ff0 Leonard Crestez 2021-08-25  130  }
5913479e836ff0 Leonard Crestez 2021-08-25  131  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip
___
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org


[kbuild] Re: [RFCv3 05/15] tcp: authopt: Add crypto initialization

2021-08-25 Thread kernel test robot
CC: kbuild-...@lists.01.org
In-Reply-To: 

References: 

TO: Leonard Crestez 

Hi Leonard,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on 3a62c333497b164868fdcd241842a1dd4e331825]

url:
https://github.com/0day-ci/linux/commits/Leonard-Crestez/tcp-Initial-support-for-RFC5925-auth-option/20210825-053714
base:   3a62c333497b164868fdcd241842a1dd4e331825
:: branch date: 21 hours ago
:: commit date: 21 hours ago
config: x86_64-rhel-8.3-kselftests (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
# 
https://github.com/0day-ci/linux/commit/5913479e836ff09dd831385883853e40af12fef8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review 
Leonard-Crestez/tcp-Initial-support-for-RFC5925-auth-option/20210825-053714
git checkout 5913479e836ff09dd831385883853e40af12fef8
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir 
ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot 


sparse warnings: (new ones prefixed by >>)
>> net/ipv4/tcp_authopt.c:128:9: sparse: sparse: context imbalance in 
>> 'tcp_authopt_alg_get_tfm' - wrong count at exit
   net/ipv4/tcp_authopt.c:134:9: sparse: sparse: context imbalance in 
'tcp_authopt_alg_put_tfm' - unexpected unlock

vim +/tcp_authopt_alg_get_tfm +128 net/ipv4/tcp_authopt.c

5913479e836ff0 Leonard Crestez 2021-08-25  124  
5913479e836ff0 Leonard Crestez 2021-08-25  125  static struct crypto_shash 
*tcp_authopt_alg_get_tfm(struct tcp_authopt_alg_imp *alg)
5913479e836ff0 Leonard Crestez 2021-08-25  126  {
5913479e836ff0 Leonard Crestez 2021-08-25  127  
spin_lock_bh(>lock);
5913479e836ff0 Leonard Crestez 2021-08-25 @128  WARN_ON(alg->ref_cnt < 
0);
5913479e836ff0 Leonard Crestez 2021-08-25  129  return alg->tfm;
5913479e836ff0 Leonard Crestez 2021-08-25  130  }
5913479e836ff0 Leonard Crestez 2021-08-25  131  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip
___
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org