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

From: Jakub Kicinski
Date: Thu Jul 14 2022 - 19:43:47 EST


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.