diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-07-30 15:44:14 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-08-14 15:48:17 -0700 |
commit | 42415c90ceaf50c792e29823e359463bc6d4ee05 (patch) | |
tree | 0857d63fdc8424b3ba8cbf688a4320674a29549e /mm | |
parent | 30444e981ba28e892c439017fbc011d867f02a7d (diff) |
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 <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions