Re: [net-next 1/8] net/mlx5: Fixed static checker warnings
From: Or Gerlitz <hidden>
Date: 2017-02-01 23:48:11
From: Or Gerlitz <hidden>
Date: 2017-02-01 23:48:11
On Wed, Feb 1, 2017 at 7:22 PM, David Miller [off-list ref] wrote: [..]
You're propagating values into a u32 field, which you are explicitly performing 32-bit endianness conversions upon.
Just use "u32" for a local variable and get rid of all of these casts.
ok, will do that