arm/xen: Improve a size determination in __set_phys_to_machine_multi()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 4 Jun 2017 18:50:55 +0000 (20:50 +0200)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 5 Jun 2017 17:36:36 +0000 (10:36 -0700)
commit031229b862f13ee5af8e1b06af258614f94dcbcd
treecc6948dcbc62a058498cee3b5f84c721de747fc3
parent3c2993b8c6143d8a5793746a54eba8f86f95240f
arm/xen: Improve a size determination in __set_phys_to_machine_multi()

Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
arch/arm/xen/p2m.c