From: kernel test robot <lkp@intel.com>
To: Yuyang Huang <yuyanghuang@google.com>
Cc: oe-kbuild-all@lists.linux.dev,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Simon Horman" <horms@kernel.org>,
"David Ahern" <dsahern@kernel.org>,
roopa@cumulusnetworks.com, jiri@resnulli.us,
stephen@networkplumber.org, jimictw@google.com, prohr@google.com,
liuhangbin@gmail.com, nicolas.dichtel@6wind.com, andrew@lunn.ch,
netdev@vger.kernel.org,
Maciej =?unknown-8bit?Q?=C5=BBenczykowski?= <maze@google.com>,
"Lorenzo Colitti" <lorenzo@google.com>,
"Patrick Ruddy" <pruddy@vyatta.att-mail.com>
Subject: Re: [PATCH net-next, v3] netlink: add IGMP/MLD join/leave notifications
Date: Fri, 22 Nov 2024 05:33:30 +0800 [thread overview]
Message-ID: <202411220556.9IxBYuBa-lkp@intel.com> (raw)
In-Reply-To: <20241121054711.818670-1-yuyanghuang@google.com>
Hi Yuyang,
kernel test robot noticed the following build warnings:
[auto build test WARNING on v6.12]
[also build test WARNING on next-20241121]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Yuyang-Huang/netlink-add-IGMP-MLD-join-leave-notifications/20241121-154542
base: v6.12
patch link: https://lore.kernel.org/r/20241121054711.818670-1-yuyanghuang%40google.com
patch subject: [PATCH net-next, v3] netlink: add IGMP/MLD join/leave notifications
config: parisc-defconfig (https://download.01.org/0day-ci/archive/20241122/202411220556.9IxBYuBa-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241122/202411220556.9IxBYuBa-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411220556.9IxBYuBa-lkp@intel.com/
All warnings (new ones prefixed by >>):
net/ipv6/mcast.c: In function 'inet6_fill_ifmcaddr':
>> net/ipv6/mcast.c:912:12: warning: unused variable 'scope' [-Wunused-variable]
912 | u8 scope;
| ^~~~~
vim +/scope +912 net/ipv6/mcast.c
906
907 static int inet6_fill_ifmcaddr(struct sk_buff *skb, struct net_device *dev,
908 const struct in6_addr *addr, int event)
909 {
910 struct ifaddrmsg *ifm;
911 struct nlmsghdr *nlh;
> 912 u8 scope;
913
914 nlh = nlmsg_put(skb, 0, 0, event, sizeof(struct ifaddrmsg), 0);
915 if (!nlh)
916 return -EMSGSIZE;
917
918 ifm = nlmsg_data(nlh);
919 ifm->ifa_family = AF_INET6;
920 ifm->ifa_prefixlen = 128;
921 ifm->ifa_flags = IFA_F_PERMANENT;
922 ifm->ifa_scope = RT_SCOPE_UNIVERSE;
923 ifm->ifa_index = dev->ifindex;
924
925 if (nla_put_in6_addr(skb, IFA_MULTICAST, addr) < 0) {
926 nlmsg_cancel(skb, nlh);
927 return -EMSGSIZE;
928 }
929
930 nlmsg_end(skb, nlh);
931 return 0;
932 }
933
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2024-11-21 21:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-21 5:47 [PATCH net-next, v3] netlink: add IGMP/MLD join/leave notifications Yuyang Huang
2024-11-21 8:24 ` Nicolas Dichtel
2024-11-21 8:27 ` Yuyang Huang
2024-11-21 9:14 ` Paolo Abeni
2024-11-21 9:16 ` Yuyang Huang
2024-11-21 21:33 ` kernel test robot [this message]
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=202411220556.9IxBYuBa-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jimictw@google.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=liuhangbin@gmail.com \
--cc=lorenzo@google.com \
--cc=maze@google.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=prohr@google.com \
--cc=pruddy@vyatta.att-mail.com \
--cc=roopa@cumulusnetworks.com \
--cc=stephen@networkplumber.org \
--cc=yuyanghuang@google.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;
as well as URLs for NNTP newsgroup(s).