Re: [PATCH uq/master V2] kvm: Add CPUID support for VIA CPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >> Blue, this does not trigger the missing braces warning:
> >
> > Do you mean the bug is that it can not trigger missing
> braces warining?
>
> The script fails to detect missing braces as marked below.
>
> > It seems that there is no missing braces in my patch, but some
> > unnecessary braces.
>
> There are no unnecessary braces according to QEMU coding style.

Oh, I see. Thank you!

> >> +                    index = env->cpuid_xlevel;
> >> +                }
> >> +            } else
> >> +                index =  env->cpuid_xlevel;
>
> This should be:
>
>     } else {
>         index = ...
>     }
>
> >> +        }
>
> Nope, see above.

It looks that I should add the missing braces.

>
> > BTW, I have submited a patch v3 a few minutes before withou
> fixing up
> > the braces, and I have tested it with my mail client this
> time, so it
> > could be OK now.
>
> Yes, your mail client works fine as far as I can see.

Yes, you are right. It seems to be the problem of my editor.

I'll check whether other places need any brace, and then send it to
the patch v3 thread.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux