https://github.com/torvalds/linux
Revision 42415c90ceaf50c792e29823e359463bc6d4ee05 authored by Pravin B Shelar on 30 July 2013, 22:44:14 UTC, committed by Jesse Gross on 14 August 2013, 22:48:17 UTC
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 <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
1 parent 30444e9
History
Tip revision: 42415c90ceaf50c792e29823e359463bc6d4ee05 authored by Pravin B Shelar on 30 July 2013, 22:44:14 UTC
openvswitch: Use correct type while allocating flex array.
Tip revision: 42415c9
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 253.4 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top