Skip to content

cleanup of xgifb/vb_setmode.c

Gargi Sharma outreachy 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 0 repliesNew
  2. v46 patches 1 replySuperseded
  3. v36 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches6 repliesSuperseded

Changes in v5 from the cover letter

fix alignment in patch 6 such that the if-test arguments line up for better readability.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6staging: xgifb: move AND operator for logical continuationdrivers/staging/xgifb/vb_setmode.c+4 -40 replies
2/6staging: xgifb: remove unnecessary parenthesesdrivers/staging/xgifb/vb_setmode.c+16 -160 replies
3/6staging: xgifb: remove blank line after open bracedrivers/staging/xgifb/vb_setmode.c+0 -60 replies
4/6staging: xgifb: add spaces around |drivers/staging/xgifb/vb_setmode.c+1 -10 replies
5/6staging: xgifb: remove blank line before closing bracedrivers/staging/xgifb/vb_setmode.c+0 -70 replies
6/6staging: xgifb: fix alignment for if argumentsdrivers/staging/xgifb/vb_setmode.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/6] cleanup of xgifb/vb_setmode.c

The following patchset contains patches to make the code more readable. This patchset fixes various issues that come up in the checkpatch in patch 1, 3, 4 and 5. Patches 2 and 6 are based on Julia's suggestion when a one patch was sent fixing the checkpatch issue of moving && operator to previous line.

---
Changes since v4:
fix alignment in patch 6 such that the if-test arguments line up for better readability.

Changes since v3:
fix commit messages in patches 2, 3 and 5 which exceeded 80 characters. Also, reworded patch 6 commit to explain the solution more clearly.

Changes since v2:
reword commit messages in all patches to explain the solution and using imperative form for the commit subject.

Changes since v1:
made a patchset instead of a patch to fix various readability issues in the code.

Gargi Sharma (6):
staging: xgifb: move AND operator for logical continuation
staging: xgifb: remove unnecessary parentheses
staging: xgifb: remove blank line after open brace
staging: xgifb: add spaces around |
staging: xgifb: remove blank line before closing brace
staging: xgifb: fix alignment for if arguments

 drivers/staging/xgifb/vb_setmode.c | 49 ++++++++++++++------------------------
 1 file changed, 18 insertions(+), 31 deletions(-)
Signature · 1 line
2.9.2