Skip to content

Fix some style problems in net

Zhang Han qemu-devel qemu-trivial 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net: Add spaces around operator/delete redundant spacesnet/checksum.c net/eth.c net/net.c +6 more+79 -790 replies
2/9net: Add braces for statements/fix braces' positionnet/checksum.c net/net.c net/queue.c +6 more+84 -540 replies
3/9net: Transfer // comments to /**/net/checksum.c net/tap-solaris.c net/tap-win32.c+38 -300 replies
4/9net: Transfer "foo* " to "foo *"net/slirp.c net/tap-win32.c+18 -180 replies
5/9net: Fix lines over 90 charactersnet/socket.c net/tap-win32.c+33 -170 replies
6/9net: Transfer tabs to spcaesnet/tap-linux.h+5 -51 reply
7/9net: Remove assignment in if conditionnet/tap-bsd.c net/tap-solaris.c+8 -41 reply
8/9net: Remove initialization of static intsnet/tap-solaris.c+2 -20 replies
9/9net: Fix the indent problemsnet/tap-solaris.c net/tap-win32.c net/vde.c+24 -240 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/9
2/9
3/9
4/9
5/9
6/9
7/9R-b
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] Fix some style problems in net

Some style problems in net directory are found by checkpatch.pl. Fix these style problems.

Zhang Han (9):
net: Add spaces around operator/delete redundant spaces
net: Add braces for statements/fix braces' position
net: transfer // comments to /**/
net: transfer "foo* bar" to "foo *"
net: fix lines over 90 characters
net: Transfer tabs to spcaes
net: remove assignment in if condition
net: Remove initialization of static ints
net: Fix the indent problems

 net/checksum.c    |  11 +-
 net/eth.c         |   2 +-
 net/net.c         |  26 +++--
 net/queue.c       |   5 +-
 net/slirp.c       |   8 +-
 net/socket.c      |  32 +++---
 net/tap-bsd.c     |   6 +-
 net/tap-linux.c   |  20 ++--
 net/tap-linux.h   |  10 +-
 net/tap-solaris.c |  76 ++++++++------
 net/tap-win32.c   | 258 +++++++++++++++++++++++++---------------------
 net/vde.c         |   4 +-
 net/vhost-user.c  |   2 +-
 13 files changed, 259 insertions(+), 201 deletions(-)
Signature · 1 line
2.29.1.59.gf9b6481aed