[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/5] softmmu: some space-style problems while coding
From: |
chaihaoyu |
Subject: |
[PATCH v2 0/5] softmmu: some space-style problems while coding |
Date: |
Fri, 15 Jan 2021 11:52:02 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
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
- [PATCH v2 0/5] softmmu: some space-style problems while coding,
chaihaoyu <=
- [PATCH v2 1/5] softmmu: fix problems about spaces, chaihaoyu, 2021/01/14
- [PATCH v2 2/5] softmmu: braces {} are needed for if statement, chaihaoyu, 2021/01/14
- [PATCH v2 3/5] softmmu: don't use '#' flag of printf format ('%#') in format strings, chaihaoyu, 2021/01/14
- [PATCH v2 4/5] softmmu: "foo* bar" should be "foo *bar", chaihaoyu, 2021/01/14
- [PATCH v2 5/5] softmmu: code indent should never use tabs, chaihaoyu, 2021/01/14