]> 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)
commit39cbd36871d6a3aab95eb3b7ee3d9932368f176f
tree67f08f34662d644ec3f4667259362141e995b2af
parent77d209b7efe1534b0ffcaa4fbf6846110cb8da2d
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