Messages in this thread | | | Subject | Re: [PATCH] xen: use struct_size() helper in kzalloc() | From | Juergen Gross <> | Date | Wed, 3 Apr 2019 08:00:10 +0200 |
| |
On 03/04/2019 07:26, Andrea Righi wrote: > 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>
Juergen
| |