[PATCH v2] coding-style: Use the same style in the 'struct option'

Michal Prívozník mprivozn at redhat.com
Tue Nov 22 09:29:13 UTC 2022


On 11/22/22 02:50, Jiang Jiacheng wrote:
> Use same style in the 'struct option' as:
>     struct option opt[] = {
>         { a, b },
>         { a, b },
>         ...
>         { a, b },
>     };
> 
> diff to v1:
> * use the same style in all the 'struct option'

We usually put this ...

> 
> Signed-off-by: Jiang Jiacheng <jiangjiacheng at huawei.com>
> ---

... here. We don't really need it to be part of the commit message.

>  examples/c/domain/domtop.c      | 10 +++++-----
>  examples/c/domain/suspend.c     | 10 +++++-----
>  src/locking/lock_daemon.c       | 12 ++++++------
>  src/logging/log_daemon.c        | 12 ++++++------
>  src/remote/remote_daemon.c      | 14 +++++++-------
>  src/security/virt-aa-helper.c   | 22 +++++++++++-----------
>  tools/virsh.c                   | 24 ++++++++++++------------
>  tools/virt-admin.c              | 14 +++++++-------
>  tools/virt-host-validate.c      |  8 ++++----
>  tools/virt-login-shell-helper.c |  6 +++---
>  tools/virt-pki-query-dn.c       |  6 +++---
>  11 files changed, 69 insertions(+), 69 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

and pushed.

Michal



More information about the libvir-list mailing list