diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-28 01:02:08 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-29 21:20:21 -0700 |
commit | 618f88c4c40a9621a3105f3ff957a91a148e7d94 (patch) | |
tree | 6817e0e61a4448a0621771badfebfc1f68fcb4bc /kernel/fail_function.c | |
parent | f7e3ac424a2b3fc6fb3b490106cd874adb62ae4a (diff) | |
download | lwn-618f88c4c40a9621a3105f3ff957a91a148e7d94.tar.gz lwn-618f88c4c40a9621a3105f3ff957a91a148e7d94.zip |
net/mlx5: DR: Fix incorrect type in argument
HW spec objects should receive a void ptr to work on, the MLX5_SET/GET
macro will know how to handle it.
No need to provide explicit or wrong pointer type in this case.
warning: incorrect type in argument 1 (different base types)
expected unsigned long long const [usertype] *sw_action
got restricted __be64 [usertype] *[assigned] sw_action
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions