diff mbox

[v2,01/17] vl.c: Small coding style fix

Message ID 1409344310-5441-2-git-send-email-ehabkost@redhat.com
State New
Headers show

Commit Message

Eduardo Habkost Aug. 29, 2014, 8:31 p.m. UTC
Just to make checkpatch.pl happy when moving the code.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paolo Bonzini Sept. 26, 2014, 3:11 p.m. UTC | #1
Il 29/08/2014 22:31, Eduardo Habkost ha scritto:
> Just to make checkpatch.pl happy when moving the code.
> 
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
>  vl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/vl.c b/vl.c
> index 95be92d..e49c115 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -2711,7 +2711,7 @@ static int configure_accelerator(MachineClass *mc)
>          if (*p == ':') {
>              p++;
>          }
> -        p = get_opt_name(buf, sizeof (buf), p, ':');
> +        p = get_opt_name(buf, sizeof(buf), p, ':');
>          for (i = 0; i < ARRAY_SIZE(accel_list); i++) {
>              if (strcmp(accel_list[i].opt_name, buf) == 0) {
>                  if (!accel_list[i].available()) {
> 

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
diff mbox

Patch

diff --git a/vl.c b/vl.c
index 95be92d..e49c115 100644
--- a/vl.c
+++ b/vl.c
@@ -2711,7 +2711,7 @@  static int configure_accelerator(MachineClass *mc)
         if (*p == ':') {
             p++;
         }
-        p = get_opt_name(buf, sizeof (buf), p, ':');
+        p = get_opt_name(buf, sizeof(buf), p, ':');
         for (i = 0; i < ARRAY_SIZE(accel_list); i++) {
             if (strcmp(accel_list[i].opt_name, buf) == 0) {
                 if (!accel_list[i].available()) {