diff options
author | Andrea Righi <andrea.righi@canonical.com> | 2019-04-03 07:26:36 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2019-04-05 08:42:41 +0200 |
commit | ad94dc3a7eb5fa6ff469dbcf401c44b14ad50595 (patch) | |
tree | 04c7feffd21b0a2ecfdcb23b0293a8d44019c8ea /arch/arm64 | |
parent | 0266def913771e718fd0c998eecb072e0685e2c9 (diff) | |
download | linux-ad94dc3a7eb5fa6ff469dbcf401c44b14ad50595.tar.bz2 |
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>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions