commit | 0d9fdaa9f53cf65a2470e8a7506b59fd88d409e2 | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@mellanox.com> | Sat Nov 26 19:55:06 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 27 17:17:03 2011 -0500 |
tree | 807da7916561b1c9fb44a4c48f17bf0848b7b85d | |
parent | 1202d460b1df3a77fda66f4ba5f90ae3527dd42f [diff] |
net/mlx4_en: fix sparse warning on a cast which truncates bits from constant value the MLX4_EN_WOL_DO_MODIFY flag which is defined through enum targets bit 63, this triggers a "cast truncate bits from constant value (8000000000000000 becomes 0)" warning from sparse, fix that by using define instead of enum. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>