]> git.karo-electronics.de Git - linux-beck.git/commit
openvswitch: Fix Frame-size larger than 1024 bytes warning.
authorpravin shelar <pshelar@ovn.org>
Mon, 19 Sep 2016 20:50:59 +0000 (13:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 02:54:35 +0000 (22:54 -0400)
commit190aa3e77880a05332ea1ccb382a51285d57adb5
tree8b92a5b65576343d515d00afd06833dad0114418
parent204dfe1798bbfa242e4083b87c3a8c5200412e6f
openvswitch: Fix Frame-size larger than 1024 bytes warning.

There is no need to declare separate key on stack,
we can just use sw_flow->key to store the key directly.

This commit fixes following warning:

net/openvswitch/datapath.c: In function ‘ovs_flow_cmd_new’:
net/openvswitch/datapath.c:1080:1: warning: the frame size of 1040 bytes
is larger than 1024 bytes [-Wframe-larger-than=]

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c