Re: [PATCH] net: macb: fixup sparse warnings on __be16 ports

From: Ben Dooks
Date: Fri Jul 15 2022 - 13:33:28 EST


On 15/07/2022 00:43, Jakub Kicinski wrote:
On Thu, 14 Jul 2022 09:43:05 +0100 Ben Dooks wrote:
- htons(fs->h_u.tcp_ip4_spec.psrc), htons(fs->h_u.tcp_ip4_spec.pdst));
+ be16_to_cpu(fs->h_u.tcp_ip4_spec.psrc),
+ be16_to_cpu(fs->h_u.tcp_ip4_spec.pdst));

There are some spaces on this line, please use tabs,
checkpatch will be able to help you validate.

Thank you, didn't spot an issue with my editor config.
Sent v2 patch