Commit c51323ee authored by Saeed Mahameed's avatar Saeed Mahameed

net/mlx5e: en_tc: Fix incorrect type in initializer warnings

Fix some trivial warnings of the type:
warning: incorrect type in initializer (different base types)
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Reviewed-by: default avatarMark Bloch <markb@mellanox.com>
parent 44345c4c
...@@ -1873,7 +1873,7 @@ enc_opts_is_dont_care_or_full_match(struct mlx5e_priv *priv, ...@@ -1873,7 +1873,7 @@ enc_opts_is_dont_care_or_full_match(struct mlx5e_priv *priv,
memchr_inv(opt->opt_data, 0, opt->length * 4)) { memchr_inv(opt->opt_data, 0, opt->length * 4)) {
*dont_care = false; *dont_care = false;
if (opt->opt_class != U16_MAX || if (opt->opt_class != htons(U16_MAX) ||
opt->type != U8_MAX) { opt->type != U8_MAX) {
NL_SET_ERR_MSG(extack, NL_SET_ERR_MSG(extack,
"Partial match of tunnel options in chain > 0 isn't supported"); "Partial match of tunnel options in chain > 0 isn't supported");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment