From: Pravin B Shelar Date: Tue, 30 Jul 2013 22:44:14 +0000 (-0700) Subject: openvswitch: Use correct type while allocating flex array. X-Git-Tag: v3.11-rc6~11^2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42415c90ceaf50c792e29823e359463bc6d4ee05;p=pandora-kernel.git openvswitch: Use correct type while allocating flex array. Flex array is used to allocate hash buckets which is type struct hlist_head, but we use `struct hlist_head *` to calculate array size. Since hlist_head is of size pointer it works fine. Following patch use correct type. Signed-off-by: Pravin B Shelar Signed-off-by: Jesse Gross --- Reading git-diff-tree failed