mbox series

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

Message ID 1722417367-4113948-1-git-send-email-radhey.shyam.pandey@amd.com (mailing list archive)
Headers show
Series net: axienet: Fix coding style issues | expand

Message

Radhey Shyam Pandey July 31, 2024, 9:16 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 2, 2024, 9:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Wed, 31 Jul 2024 14:46:03 +0530 you wrote:
> 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'.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/4] net: axienet: Replace the occurrences of (1<<x) by BIT(x)
    https://git.kernel.org/netdev/net-next/c/3ff578c91cd8
  - [net-next,v2,2/4] net: axienet: add missing blank line after declaration
    https://git.kernel.org/netdev/net-next/c/f7061a3e04cf
  - [net-next,v2,3/4] net: axienet: remove unnecessary ftrace-like logging
    https://git.kernel.org/netdev/net-next/c/f83828a0522f
  - [net-next,v2,4/4] net: axienet: remove unnecessary parentheses
    https://git.kernel.org/netdev/net-next/c/48ba8a1d0424

You are awesome, thank you!