[PATCH net-next v2 0/4] net: axienet: Fix coding style issues

Radhey Shyam Pandey radhey.shyam.pandey at amd.com
Wed Jul 31 02:16:03 PDT 2024


This patchset 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'.

Changes for v2:
- Split each coding style change into separate patch.

Appana Durga Kedareswara Rao (1):
  net: axienet: Replace the occurrences of (1<<x) by BIT(x)

Radhey Shyam Pandey (3):
  net: axienet: add missing blank line after declaration
  net: axienet: remove unnecessary ftrace-like logging
  net: axienet: remove unnecessary parentheses

 drivers/net/ethernet/xilinx/xilinx_axienet.h  | 28 +++++++++----------
 .../net/ethernet/xilinx/xilinx_axienet_main.c |  9 ++----
 2 files changed, 17 insertions(+), 20 deletions(-)

-- 
2.34.1




More information about the linux-arm-kernel mailing list