* [ammarfaizi2-block:dhowells/linux-fs/pipe-list 30/30] crypto/algif_skcipher.c:197:3: error: field designator 'sendpage' does not refer to any field in type 'struct proto_ops'
@ 2023-03-10 22:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-10 22:53 UTC (permalink / raw)
To: David Howells; +Cc: llvm, oe-kbuild-all, Ammar Faizi, GNU/Weeb Mailing List
Hi David,
First bad commit (maybe != root cause):
tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/pipe-list
head: e76345d9b0b65f673fbee4ce5c3ef8450e89638e
commit: e76345d9b0b65f673fbee4ce5c3ef8450e89638e [30/30] sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)
config: powerpc-randconfig-r005-20230310 (https://download.01.org/0day-ci/archive/20230311/[email protected]/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/ammarfaizi2/linux-block/commit/e76345d9b0b65f673fbee4ce5c3ef8450e89638e
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/pipe-list
git checkout e76345d9b0b65f673fbee4ce5c3ef8450e89638e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash crypto/ net/unix/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> crypto/algif_skcipher.c:197:3: error: field designator 'sendpage' does not refer to any field in type 'struct proto_ops'
.sendpage = af_alg_sendpage,
^
crypto/algif_skcipher.c:288:3: error: field designator 'sendpage' does not refer to any field in type 'struct proto_ops'
.sendpage = skcipher_sendpage_nokey,
^
2 errors generated.
--
>> crypto/algif_aead.c:371:3: error: field designator 'sendpage' does not refer to any field in type 'struct proto_ops'
.sendpage = af_alg_sendpage,
^
crypto/algif_aead.c:462:3: error: field designator 'sendpage' does not refer to any field in type 'struct proto_ops'
.sendpage = aead_sendpage_nokey,
^
2 errors generated.
--
>> net/unix/af_unix.c:855:3: error: field designator 'sendpage' does not refer to any field in type 'const struct proto_ops'
.sendpage = unix_stream_sendpage,
^
1 error generated.
vim +197 crypto/algif_skcipher.c
8ff590903d5fc7 Herbert Xu 2010-10-19 181
8ff590903d5fc7 Herbert Xu 2010-10-19 182 static struct proto_ops algif_skcipher_ops = {
8ff590903d5fc7 Herbert Xu 2010-10-19 183 .family = PF_ALG,
8ff590903d5fc7 Herbert Xu 2010-10-19 184
8ff590903d5fc7 Herbert Xu 2010-10-19 185 .connect = sock_no_connect,
8ff590903d5fc7 Herbert Xu 2010-10-19 186 .socketpair = sock_no_socketpair,
8ff590903d5fc7 Herbert Xu 2010-10-19 187 .getname = sock_no_getname,
8ff590903d5fc7 Herbert Xu 2010-10-19 188 .ioctl = sock_no_ioctl,
8ff590903d5fc7 Herbert Xu 2010-10-19 189 .listen = sock_no_listen,
8ff590903d5fc7 Herbert Xu 2010-10-19 190 .shutdown = sock_no_shutdown,
8ff590903d5fc7 Herbert Xu 2010-10-19 191 .mmap = sock_no_mmap,
8ff590903d5fc7 Herbert Xu 2010-10-19 192 .bind = sock_no_bind,
8ff590903d5fc7 Herbert Xu 2010-10-19 193 .accept = sock_no_accept,
8ff590903d5fc7 Herbert Xu 2010-10-19 194
8ff590903d5fc7 Herbert Xu 2010-10-19 195 .release = af_alg_release,
8ff590903d5fc7 Herbert Xu 2010-10-19 196 .sendmsg = skcipher_sendmsg,
2d97591ef43d05 Stephan Mueller 2017-08-02 @197 .sendpage = af_alg_sendpage,
8ff590903d5fc7 Herbert Xu 2010-10-19 198 .recvmsg = skcipher_recvmsg,
a11e1d432b51f6 Linus Torvalds 2018-06-28 199 .poll = af_alg_poll,
8ff590903d5fc7 Herbert Xu 2010-10-19 200 };
8ff590903d5fc7 Herbert Xu 2010-10-19 201
:::::: The code at line 197 was first introduced by commit
:::::: 2d97591ef43d0587be22ad1b0d758d6df4999a0b crypto: af_alg - consolidation of duplicate code
:::::: TO: Stephan Mueller <[email protected]>
:::::: CC: Herbert Xu <[email protected]>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-10 22:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-10 22:53 [ammarfaizi2-block:dhowells/linux-fs/pipe-list 30/30] crypto/algif_skcipher.c:197:3: error: field designator 'sendpage' does not refer to any field in type 'struct proto_ops' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox