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)
commit20bbf22a622178db71fb8bea5f9000d6f346185a
tree67f08f34662d644ec3f4667259362141e995b2af
parent224d71ccc07c6b221e4fdff7cd3d04c6033228c5
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