From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFCv3 06/15] tcp: authopt: Compute packet signatures
Date: Sat, 28 Aug 2021 08:39:59 +0800 [thread overview]
Message-ID: <202108280842.GPV4LFeN-lkp@intel.com> (raw)
In-Reply-To: <3e8956d3895a05ca1e7672531cf88b5445b456f3.1629840814.git.cdleonard@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2968 bytes --]
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
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/8666d8497484cd6cb4b94bca9097506d886e9c46
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 8666d8497484cd6cb4b94bca9097506d886e9c46
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> net/ipv4/tcp_authopt.c:606:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __be32 [usertype] @@
net/ipv4/tcp_authopt.c:606:16: sparse: expected unsigned int
net/ipv4/tcp_authopt.c:606:16: sparse: got restricted __be32 [usertype]
net/ipv4/tcp_authopt.c:607:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __be32 [usertype] @@
net/ipv4/tcp_authopt.c:607:16: sparse: expected unsigned int
net/ipv4/tcp_authopt.c:607:16: sparse: got restricted __be32 [usertype]
>> net/ipv4/tcp_authopt.c:820:5: sparse: sparse: symbol '__tcp_authopt_calc_mac' was not declared. Should it be static?
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 +606 net/ipv4/tcp_authopt.c
597
598 static int tcp_authopt_hash_tcp6_pseudoheader(struct shash_desc *desc,
599 struct in6_addr *saddr,
600 struct in6_addr *daddr,
601 u32 plen)
602 {
603 int err;
604 u32 buf[2];
605
> 606 buf[0] = htonl(plen);
607 buf[1] = htonl(IPPROTO_TCP);
608
609 err = crypto_shash_update(desc, (u8 *)saddr, sizeof(*saddr));
610 if (err)
611 return err;
612 err = crypto_shash_update(desc, (u8 *)daddr, sizeof(*daddr));
613 if (err)
614 return err;
615 return crypto_shash_update(desc, (u8 *)&buf, sizeof(buf));
616 }
617
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42172 bytes --]
next prev parent reply other threads:[~2021-08-28 0:39 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-24 21:34 [RFCv3 00/15] tcp: Initial support for RFC5925 auth option Leonard Crestez
2021-08-24 21:34 ` [RFCv3 01/15] tcp: authopt: Initial support and key management Leonard Crestez
2021-08-31 19:04 ` Dmitry Safonov
2021-09-03 14:26 ` Leonard Crestez
2021-08-24 21:34 ` [RFCv3 02/15] docs: Add user documentation for tcp_authopt Leonard Crestez
2021-08-24 21:34 ` [RFCv3 03/15] selftests: Initial tcp_authopt test module Leonard Crestez
2021-08-24 21:34 ` [RFCv3 04/15] selftests: tcp_authopt: Initial sockopt manipulation Leonard Crestez
2021-08-24 21:34 ` [RFCv3 05/15] tcp: authopt: Add crypto initialization Leonard Crestez
2021-08-24 23:02 ` Eric Dumazet
2021-08-24 23:34 ` Eric Dumazet
2021-08-25 8:08 ` Herbert Xu
2021-08-25 14:55 ` Eric Dumazet
2021-08-25 16:04 ` Ard Biesheuvel
2021-08-25 16:31 ` Leonard Crestez
2021-08-25 16:35 ` Leonard Crestez
2021-08-25 17:55 ` Eric Dumazet
2021-08-25 18:56 ` Leonard Crestez
2021-08-24 21:34 ` [RFCv3 06/15] tcp: authopt: Compute packet signatures Leonard Crestez
2021-08-25 0:45 ` kernel test robot
2021-08-26 2:19 ` kernel test robot
2021-08-26 2:19 ` [RFC PATCH] tcp: authopt: __tcp_authopt_calc_mac() can be static kernel test robot
2021-08-28 0:39 ` kernel test robot [this message]
2021-08-24 21:34 ` [RFCv3 07/15] tcp: authopt: Hook into tcp core Leonard Crestez
2021-08-24 22:59 ` Eric Dumazet
2021-08-25 16:32 ` Leonard Crestez
2021-08-25 1:48 ` kernel test robot
2021-08-25 3:31 ` kernel test robot
2021-08-28 11:59 ` kernel test robot
2021-08-28 11:59 ` [RFC PATCH] tcp: authopt: tcp_authopt_lookup_send() can be static kernel test robot
2021-08-24 21:34 ` [RFCv3 08/15] tcp: authopt: Add snmp counters Leonard Crestez
2021-08-24 21:34 ` [RFCv3 09/15] selftests: tcp_authopt: Test key address binding Leonard Crestez
2021-08-25 5:18 ` David Ahern
2021-08-25 16:37 ` Leonard Crestez
2021-08-24 21:34 ` [RFCv3 10/15] selftests: tcp_authopt: Capture and verify packets Leonard Crestez
2021-08-24 21:34 ` [RFCv3 11/15] selftests: Initial tcp_authopt support for nettest Leonard Crestez
2021-08-24 21:34 ` [RFCv3 12/15] selftests: Initial tcp_authopt support for fcnal-test Leonard Crestez
2021-08-24 21:34 ` [RFCv3 13/15] selftests: Add -t tcp_authopt option for fcnal-test.sh Leonard Crestez
2021-08-24 21:34 ` [RFCv3 14/15] tcp: authopt: Add key selection controls Leonard Crestez
2021-08-24 21:34 ` [RFCv3 15/15] selftests: tcp_authopt: Add tests for rollover Leonard Crestez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108280842.GPV4LFeN-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.