netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next:master 630/633] net/bridge/br_netlink.c:1110:1: warning: the frame size of 2160 bytes is larger than 2048 bytes
@ 2015-10-05  2:42 kbuild test robot
  2015-10-05  9:47 ` David Miller
  2015-10-05 10:11 ` [PATCH net-next] bridge: netlink: make br_fill_info's frame size smaller Nikolay Aleksandrov
  0 siblings, 2 replies; 6+ messages in thread
From: kbuild test robot @ 2015-10-05  2:42 UTC (permalink / raw)
  To: Nikolay Aleksandrov; +Cc: kbuild-all, netdev

[-- Attachment #1: Type: text/plain, Size: 3145 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   3e087caa23ef36370bfb925d3bbca78e8302d3ce
commit: 7e4df51eb35deedd3ba8d4db92a6c36fb7eff90a [630/633] bridge: netlink: add support for igmp's intervals
config: x86_64-randconfig-s0-10051005 (attached as .config)
reproduce:
        git checkout 7e4df51eb35deedd3ba8d4db92a6c36fb7eff90a
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   net/bridge/br_netlink.c: In function 'br_fill_info':
>> net/bridge/br_netlink.c:1110:1: warning: the frame size of 2160 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    }
    ^

vim +1110 net/bridge/br_netlink.c

7e4df51e Nikolay Aleksandrov 2015-10-04  1094  		return -EMSGSIZE;
7e4df51e Nikolay Aleksandrov 2015-10-04  1095  	clockval = jiffies_to_clock_t(br->multicast_querier_interval);
7e4df51e Nikolay Aleksandrov 2015-10-04  1096  	if (nla_put_u64(skb, IFLA_BR_MCAST_QUERIER_INTVL, clockval))
7e4df51e Nikolay Aleksandrov 2015-10-04  1097  		return -EMSGSIZE;
7e4df51e Nikolay Aleksandrov 2015-10-04  1098  	clockval = jiffies_to_clock_t(br->multicast_query_interval);
7e4df51e Nikolay Aleksandrov 2015-10-04  1099  	if (nla_put_u64(skb, IFLA_BR_MCAST_QUERY_INTVL, clockval))
7e4df51e Nikolay Aleksandrov 2015-10-04  1100  		return -EMSGSIZE;
7e4df51e Nikolay Aleksandrov 2015-10-04  1101  	clockval = jiffies_to_clock_t(br->multicast_query_response_interval);
7e4df51e Nikolay Aleksandrov 2015-10-04  1102  	if (nla_put_u64(skb, IFLA_BR_MCAST_QUERY_RESPONSE_INTVL, clockval))
7e4df51e Nikolay Aleksandrov 2015-10-04  1103  		return -EMSGSIZE;
7e4df51e Nikolay Aleksandrov 2015-10-04  1104  	clockval = jiffies_to_clock_t(br->multicast_startup_query_interval);
7e4df51e Nikolay Aleksandrov 2015-10-04  1105  	if (nla_put_u64(skb, IFLA_BR_MCAST_STARTUP_QUERY_INTVL, clockval))
7e4df51e Nikolay Aleksandrov 2015-10-04  1106  		return -EMSGSIZE;
a9a6bc70 Nikolay Aleksandrov 2015-10-04  1107  #endif
a9a6bc70 Nikolay Aleksandrov 2015-10-04  1108  
e5c3ea5c Jiri Pirko          2014-09-05  1109  	return 0;
e5c3ea5c Jiri Pirko          2014-09-05 @1110  }
e5c3ea5c Jiri Pirko          2014-09-05  1111  
fed0a159 Roopa Prabhu        2015-02-25  1112  static size_t br_get_link_af_size(const struct net_device *dev)
fed0a159 Roopa Prabhu        2015-02-25  1113  {
2594e906 Nikolay Aleksandrov 2015-09-25  1114  	struct net_bridge_port *p;
2594e906 Nikolay Aleksandrov 2015-09-25  1115  	struct net_bridge *br;
2594e906 Nikolay Aleksandrov 2015-09-25  1116  	int num_vlans = 0;
fed0a159 Roopa Prabhu        2015-02-25  1117  
2594e906 Nikolay Aleksandrov 2015-09-25  1118  	if (br_port_exists(dev)) {

:::::: The code at line 1110 was first introduced by commit
:::::: e5c3ea5c668033b303e7ac835d7d91da32d97958 bridge: implement rtnl_link_ops->get_size and rtnl_link_ops->fill_info

:::::: TO: Jiri Pirko <jiri@resnulli.us>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 28319 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-07 11:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05  2:42 [net-next:master 630/633] net/bridge/br_netlink.c:1110:1: warning: the frame size of 2160 bytes is larger than 2048 bytes kbuild test robot
2015-10-05  9:47 ` David Miller
2015-10-05  9:33   ` Nikolay Aleksandrov
2015-10-05  9:43     ` Nikolay Aleksandrov
2015-10-05 10:11 ` [PATCH net-next] bridge: netlink: make br_fill_info's frame size smaller Nikolay Aleksandrov
2015-10-07 11:16   ` David Miller

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