Skip to contentSkip to conversation

Fix some style problems in contrib

PATCH zhouyang (T) 1 participant 3 messages Dec 17, 2020 – Jan 13, 2021

lore
Share & tools
lore
#0 lore raw

kindly ping

Quoted 24 lines

v1 -> v2:
Changed the "From:" and "Signed-off-by:" lines from "zhouyang (T)" to my real name "zhouyang".

I found some style problems while check the code using checkpatch.pl and fixed them, please review.

zhouyang (5):
contrib: Don't use '#' flag of printf format
contrib: Fix some code style problems, ERROR: "foo * bar" should be
"foo *bar"
contrib: Add spaces around operator
contrib: space required after that ','
contrib: Open brace '{' following struct go on the same line

contrib/ivshmem-server/main.c |  2 +-
contrib/plugins/hotblocks.c   |  2 +-
contrib/plugins/hotpages.c    |  2 +-
contrib/plugins/howvec.c      | 19 +++++++++----------
contrib/plugins/lockstep.c    |  6 +++---
5 files changed, 15 insertions(+), 16 deletions(-)

--
2.23.0

#1 lore raw

kindly ping

Quoted 27 lines · zhouyang (T)

kindly ping

Quoted 24 lines

v1 -> v2:
Changed the "From:" and "Signed-off-by:" lines from "zhouyang (T)" to my real name "zhouyang".

I found some style problems while check the code using checkpatch.pl and fixed them, please review.

zhouyang (5):
contrib: Don't use '#' flag of printf format
contrib: Fix some code style problems, ERROR: "foo * bar" should be
"foo *bar"
contrib: Add spaces around operator
contrib: space required after that ','
contrib: Open brace '{' following struct go on the same line

contrib/ivshmem-server/main.c |  2 +-
contrib/plugins/hotblocks.c   |  2 +-
contrib/plugins/hotpages.c    |  2 +-
contrib/plugins/howvec.c      | 19 +++++++++----------
contrib/plugins/lockstep.c    |  6 +++---
5 files changed, 15 insertions(+), 16 deletions(-)

--
2.23.0

#2 lore raw

Ping: [PATCH v2 0/5] Fix some style problems in contrib

Hi Peter,

Friendly ping again, It's been more than a month since I submitted the patch,did I miss any response?

Quoted 30 lines · zhouyang (T)

kindly ping

Quoted 27 lines · zhouyang (T)

kindly ping

Quoted 24 lines

v1 -> v2:
Changed the "From:" and "Signed-off-by:" lines from "zhouyang (T)" to my real name "zhouyang".

I found some style problems while check the code using checkpatch.pl and fixed them, please review.

zhouyang (5):
contrib: Don't use '#' flag of printf format
contrib: Fix some code style problems, ERROR: "foo * bar" should be
"foo *bar"
contrib: Add spaces around operator
contrib: space required after that ','
contrib: Open brace '{' following struct go on the same line

contrib/ivshmem-server/main.c |  2 +-
contrib/plugins/hotblocks.c   |  2 +-
contrib/plugins/hotpages.c    |  2 +-
contrib/plugins/howvec.c      | 19 +++++++++----------
contrib/plugins/lockstep.c    |  6 +++---
5 files changed, 15 insertions(+), 16 deletions(-)

--
2.23.0