From: Wenpeng Liang
There should be no spaces at the start of the line.
Signed-off-by: Wenpeng Liang
Signed-off-by: Weihang Li
---
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core
Just make some cleanups according to the coding style of kernel.
Wenpeng Liang (3):
net/mlx5: Add a blank line after declarations.
net/mlx5: Remove return statement exist at the end of void function
net/mlx5: Replace spaces with tab at the start of a line
drivers/net/ethernet/mellanox/mlx5
From: Wenpeng Liang
void function return statements are not generally useful.
Signed-off-by: Wenpeng Liang
Signed-off-by: Weihang Li
---
drivers/net/ethernet/mellanox/mlx5/core/lag.c | 2 --
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c | 1 -
drivers/net/ethernet/mellanox/mlx5/core
From: Wenpeng Liang
There should be a blank lines after declarations.
Signed-off-by: Wenpeng Liang
Signed-off-by: Weihang Li
---
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c| 2 ++
drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c | 1 +
2 files changed, 3 insertions(+)
diff
From: Yixing Liu
Use a tralling */ on a separate line for block comments.
Signed-off-by: Yixing Liu
Signed-off-by: Weihang Li
---
drivers/net/ethernet/mscc/ocelot.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mscc/ocelot.c
b/drivers/net
From: Yixing Liu
Delete unncecessary spaces and add some reasonable spaces according to the
coding-style of kernel.
Signed-off-by: Yixing Liu
Signed-off-by: Weihang Li
---
drivers/net/ethernet/amd/amd8111e.c | 362 ++--
1 file changed, 177 insertions(+), 185
From: Yixing Liu
There should be a blank line after declarations.
Signed-off-by: Yixing Liu
Signed-off-by: Weihang Li
---
drivers/net/ethernet/amd/hplance.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/amd/hplance.c
b/drivers/net/ethernet/amd/hplance.c
index
From: Yixing Liu
Use a trailling */ on a separate line for block comments.
Signed-off-by: Yixing Liu
Signed-off-by: Weihang Li
---
drivers/net/ethernet/toshiba/spider_net.c | 42 ---
drivers/net/ethernet/toshiba/tc35815.c| 3 ++-
2 files changed, 30
From: Yixing Liu
Remove the redundant "for" from the commment.
Signed-off-by: Yixing Liu
Signed-off-by: Weihang Li
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/d
From: Yangyang Li
Fix the following format warning:
1. Block comments use * on subsequent lines
2. Block comments use a trailing */ on a separate line
Signed-off-by: Yangyang Li
Signed-off-by: Weihang Li
---
drivers/net/ethernet/nxp/lpc_eth.c | 9 ++---
1 file changed, 6 insertions(+), 3
From: Yixing Liu
Use "%u" to replace "hu%".
Signed-off-by: Yixing Liu
Signed-off-by: Weihang Li
---
drivers/net/ethernet/amazon/ena/ena_com.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c
b/drivers/net
Do some cleanups according to the coding style of kernel, including wrong
print type, redundant and missing spaces and so on.
Yangyang Li (1):
net: lpc_eth: fix format warnings of block comments
Yixing Liu (6):
net: ena: fix inaccurate print type
net: ena: remove extra words from comments
From: Yangyang Li
Use a trailing */ on a separate line for block comments.
Signed-off-by: Yangyang Li
Signed-off-by: Weihang Li
---
drivers/net/ethernet/marvell/mv643xx_eth.c | 6 --
drivers/net/ethernet/marvell/mvneta.c | 6 --
drivers/net/ethernet/marvell/sky2.c| 9
From: Yangyang Li
Just delete three extra spaces.
Signed-off-by: Yangyang Li
Signed-off-by: Weihang Li
---
drivers/net/ethernet/marvell/mvneta.c | 2 +-
drivers/net/ethernet/marvell/skge.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet
From: Yangyang Li
Use tab instead of space to align the code.
Signed-off-by: Yangyang Li
Signed-off-by: Weihang Li
---
drivers/net/ethernet/marvell/skge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/skge.c
b/drivers/net/ethernet/marvell
From: Yangyang Li
Delete duplicate word in two comments.
Signed-off-by: Yangyang Li
Signed-off-by: Weihang Li
---
drivers/net/ethernet/marvell/mvneta.c | 4 +---
drivers/net/ethernet/marvell/skge.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet
Do some cleanups according to the coding style of kernel.
Yangyang Li (4):
net: marvell: Delete duplicate word in comments
net: marvell: Fix the trailing format of some block comments
net: marvell: Delete extra spaces
net: marvell: Fix an alignment problem
drivers/net/ethernet/marvell/mv
17 matches
Mail list logo