]> git.baikalelectronics.ru Git - kernel.git/commit
mlx5: Fix parameter type of health_handler_t
authorRoland Dreier <roland@purestorage.com>
Mon, 1 Jul 2013 21:15:17 +0000 (14:15 -0700)
committerRoland Dreier <roland@purestorage.com>
Mon, 8 Jul 2013 17:32:32 +0000 (10:32 -0700)
commit1149a2ac9bacc7aa542dae075cc3bfad1fa0c173
tree2d722bbd6546595073ad0b4cb3fb4ab0b6b40f22
parent7c120481afccd6b758c52a4c875426d899a294f1
mlx5: Fix parameter type of health_handler_t

This deals with the sparse warning:

    drivers/net/ethernet/mellanox/mlx5/core/health.c:94:54: warning: incorrect type in argument 2 (different address spaces)
    drivers/net/ethernet/mellanox/mlx5/core/health.c:94:54:    expected void *buf
    drivers/net/ethernet/mellanox/mlx5/core/health.c:94:54:    got struct health_buffer [noderef] <asn:2>*health

Signed-off-by: Roland Dreier <roland@purestorage.com>
include/linux/mlx5/driver.h