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)
commit63884c90ffa3f73a81b81f169c51c34d2b9cf75e
tree2d722bbd6546595073ad0b4cb3fb4ab0b6b40f22
parente126ba97dba9edeb6fafa3665b5f8497fc9cdf8c
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