oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Ammar Faizi <ammarfaizi2@gnuweeb.org>,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>
Subject: [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'
Date: Sat, 11 Mar 2023 06:53:36 +0800	[thread overview]
Message-ID: <202303110643.lt2c86An-lkp@intel.com> (raw)

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/202303110643.lt2c86An-lkp@intel.com/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 <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303110643.lt2c86An-lkp@intel.com/

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 <smueller@chronox.de>
:::::: CC: Herbert Xu <herbert@gondor.apana.org.au>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

                 reply	other threads:[~2023-03-10 22:54 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=202303110643.lt2c86An-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ammarfaizi2@gnuweeb.org \
    --cc=dhowells@redhat.com \
    --cc=gwml@vger.gnuweeb.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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;
as well as URLs for NNTP newsgroup(s).