[PATCH net-next] net: axienet: Fix coding style issues
Andrew Lunn
andrew at lunn.ch
Wed Jul 17 13:38:26 PDT 2024
On Thu, Jul 18, 2024 at 12:24:43AM +0530, Radhey Shyam Pandey wrote:
> From: Appana Durga Kedareswara Rao <appana.durga.rao at xilinx.com>
>
> Replace all occurences of (1<<x) by BIT(x) to get rid of checkpatch.pl
> "CHECK" output "Prefer using the BIT macro".
>
> It also removes unnecessary ftrace-like logging, add missing blank line
> after declaration and remove unnecessary parentheses around 'ndev->mtu
> <= XAE_JUMBO_MTU' and 'ndev->mtu > XAE_MTU'.
Ideally, this should of been multiple patches. In general, we want a
patch to do one thing, which makes it easier to review.
net-next is closed at the moment due to the merge window. Please
repost in two weeks, once it opens again.
Andrew
More information about the linux-arm-kernel
mailing list