Andrea Righi ad94dc3a7e xen: use struct_size() helper in kzalloc()
struct privcmd_buf_vma_private has a zero-sized array at the end
(pages), use the new struct_size() helper to determine the proper
allocation size and avoid potential type mistakes.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
2019-04-05 08:42:41 +02:00
..
2015-12-21 14:40:55 +00:00
2018-06-12 16:19:22 -07:00
2017-05-02 12:06:50 +02:00
2018-11-10 08:58:48 -06:00
2015-12-21 14:40:55 +00:00
2018-02-01 10:07:32 -05:00