From: kernel test robot <lkp@intel.com>
To: Alexander K <ak@tempesta-tech.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Chuck Lever <chuck.lever@oracle.com>
Subject: [cel:topic-rpc-with-tls 1/8] net/tls/ecdh.c:144:1: warning: no previous prototype for 'ttls_ecdh_read_params'
Date: Wed, 8 Dec 2021 04:56:31 +0800 [thread overview]
Message-ID: <202112080428.xNBYfZzC-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux topic-rpc-with-tls
head: 21c40b0003975c1afe4b59126aba2c547103ccae
commit: 674ca98f07d168e6fbeea6852b81d3536b26d864 [1/8] Port of Tempesta TLS handshakes to the Linux 5.10.68
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20211208/202112080428.xNBYfZzC-lkp@intel.com/config)
compiler: sh4-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/cel/linux.git/commit/?id=674ca98f07d168e6fbeea6852b81d3536b26d864
git remote add cel git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
git fetch --no-tags cel topic-rpc-with-tls
git checkout 674ca98f07d168e6fbeea6852b81d3536b26d864
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash net/sunrpc/ net/tls/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> net/tls/ecdh.c:144:1: warning: no previous prototype for 'ttls_ecdh_read_params' [-Wmissing-prototypes]
144 | ttls_ecdh_read_params(TlsECDHCtx *ctx, const unsigned char **buf,
| ^~~~~~~~~~~~~~~~~~~~~
--
>> net/tls/error.c:40:6: warning: no previous prototype for 'ttls_strerror' [-Wmissing-prototypes]
40 | void ttls_strerror(int ret, char *buf, size_t buflen)
| ^~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CRYPTO_SHA1_SSSE3
Depends on CRYPTO && X86 && 64BIT
Selected by
- TLS_HANDSHAKE && NET && TLS
vim +/ttls_ecdh_read_params +144 net/tls/ecdh.c
135
136 /**
137 * Read the ServerKeyExhange parameters (RFC 8422 5.4)
138 * struct {
139 * ECParameters curve_params;
140 * ECPoint public;
141 * } ServerECDHParams;
142 */
143 int
> 144 ttls_ecdh_read_params(TlsECDHCtx *ctx, const unsigned char **buf,
145 const unsigned char *end)
146 {
147 int r;
148
149 if (!(ctx->grp = ttls_ecp_tls_read_group(buf, end - *buf)))
150 return -EINVAL;
151
152 /*
153 * Import a point from a TLS ECPoint record (RFC 8443 5.4)
154 * struct {
155 * opaque point <1..2^8-1>;
156 * } ECPoint;
157 */
158 if (!(r = ttls_ecdh_read_public(ctx, *buf, end - *buf)))
159 *buf += end - *buf;
160
161 return r;
162 }
163
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2021-12-07 20:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202112080428.xNBYfZzC-lkp@intel.com \
--to=lkp@intel.com \
--cc=ak@tempesta-tech.com \
--cc=chuck.lever@oracle.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®