mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Steffen Klassert <steffen.klassert@secunet.com>
Cc: kbuild-all@lists.01.org,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
	linux-kernel@vger.kernel.org,
	Benedict Wong <benedictwong@google.com>,
	Lorenzo Colitti <lorenzo@google.com>,
	Eyal Birger <eyal.birger@gmail.com>
Subject: [ammarfaizi2-block:google/android/kernel/common/android-4.9-q-release 5921/9999] net/xfrm/xfrm_interface.c:739:13: warning: no previous declaration for 'xfrmi_get_link_net'
Date: Thu, 3 Mar 2022 01:04:02 +0800	[thread overview]
Message-ID: <202203030039.jNXm03Zp-lkp@intel.com> (raw)

Hi Steffen,

FYI, the error/warning still remains.

tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.9-q-release
head:   4be78b108a3a1d1ffbc2367c5a45855715451482
commit: f5bb9e918c9307843fbb8e6943ebfcdcac08d2f2 [5921/9999] BACKPORT: xfrm: Add virtual xfrm interfaces
config: i386-debian-10.3 (https://download.01.org/0day-ci/archive/20220303/202203030039.jNXm03Zp-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
        # https://github.com/ammarfaizi2/linux-block/commit/f5bb9e918c9307843fbb8e6943ebfcdcac08d2f2
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.9-q-release
        git checkout f5bb9e918c9307843fbb8e6943ebfcdcac08d2f2
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/xfrm/

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 >>):

   In file included from include/linux/kasan.h:4:0,
                    from include/linux/slab.h:118,
                    from include/linux/textsearch.h:8,
                    from include/linux/skbuff.h:30,
                    from include/linux/icmp.h:20,
                    from net/xfrm/xfrm_interface.c:16:
   include/linux/sched.h:1260:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
    const struct sched_group_energy * const(*sched_domain_energy_f)(int cpu);
    ^~~~~
>> net/xfrm/xfrm_interface.c:739:13: warning: no previous declaration for 'xfrmi_get_link_net' [-Wmissing-declarations]
    struct net *xfrmi_get_link_net(const struct net_device *dev)
                ^~~~~~~~~~~~~~~~~~


vim +/xfrmi_get_link_net +739 net/xfrm/xfrm_interface.c

   738	
 > 739	struct net *xfrmi_get_link_net(const struct net_device *dev)
   740	{
   741		struct xfrm_if *xi = netdev_priv(dev);
   742	
   743		return dev_net(xi->phydev);
   744	}
   745	

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

                 reply	other threads:[~2022-03-02 17:07 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=202203030039.jNXm03Zp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=benedictwong@google.com \
    --cc=eyal.birger@gmail.com \
    --cc=gwml@vger.gnuweeb.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo@google.com \
    --cc=steffen.klassert@secunet.com \
    /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®