]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Use void pointer as the type in address_of macro
authorBodong Wang <bodong@mellanox.com>
Wed, 13 Feb 2019 06:55:32 +0000 (22:55 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 14 Feb 2019 20:14:41 +0000 (12:14 -0800)
commit4f0a434bd2a5ee3a7a164e5a34e0d0168b269f4e
tree67f08f34662d644ec3f4667259362141e995b2af
parentb3d225269a0674102cfce0a1afbe316c29e5aebe
net/mlx5: Use void pointer as the type in address_of macro

Better to use void * and avoid unnecessary casts.

This patch doesn't change any functionality.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/device.h