[PATCH v2 0/5] softmmu: some space-style problems while coding

chaihaoyu posted 5 patches 3 years, 3 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/aaa530f5-b7ec-3198-a80b-efb88de20c6c@huawei.com
Maintainers: Alistair Francis <alistair.francis@wdc.com>, David Gibson <david@gibson.dropbear.id.au>, "Gonglei (Arei)" <arei.gonglei@huawei.com>, Eduardo Habkost <ehabkost@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Daniel P. Berrangé" <berrange@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
softmmu/bootdevice.c   |  4 ++--
softmmu/cpus.c         |  6 ++++--
softmmu/device_tree.c  |  2 +-
softmmu/dma-helpers.c  |  3 ++-
softmmu/globals.c      |  2 +-
softmmu/memory.c       | 19 ++++++++++---------
softmmu/physmem.c      | 17 +++++++++++------
softmmu/qdev-monitor.c | 16 ++++++++++------
softmmu/runstate.c     |  4 ++--
9 files changed, 43 insertions(+), 30 deletions(-)
[PATCH v2 0/5] softmmu: some space-style problems while coding
Posted by chaihaoyu 3 years, 3 months ago
recently I found some code style problems while using checkpatch.pl tool,please review.

Haoyu Chai (5):
 softmmu: add spaces around operator
 softmmu: braces {} are needed for if statement
 softmmu: don't use '#' flag of printf format ('%#') in format strings
 softmmu: "foo* bar" should be "foo *bar"
 softmmu: code indent should never use tabs

 softmmu/bootdevice.c   |  4 ++--
 softmmu/cpus.c         |  6 ++++--
 softmmu/device_tree.c  |  2 +-
 softmmu/dma-helpers.c  |  3 ++-
 softmmu/globals.c      |  2 +-
 softmmu/memory.c       | 19 ++++++++++---------
 softmmu/physmem.c      | 17 +++++++++++------
 softmmu/qdev-monitor.c | 16 ++++++++++------
 softmmu/runstate.c     |  4 ++--
 9 files changed, 43 insertions(+), 30 deletions(-)

-- 
2.29.1.59.gf9b6481aed