[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 1/3] xen+tools: Introduce XEN_SYSCTL_PHYSCAP_vpmu
Hi Jan, On 08.10.2021 10:33, Jan Beulich wrote: > On 08.10.2021 10:19, Michal Orzel wrote: >> --- a/xen/include/public/sysctl.h >> +++ b/xen/include/public/sysctl.h >> @@ -100,10 +100,12 @@ struct xen_sysctl_tbuf_op { >> #define _XEN_SYSCTL_PHYSCAP_iommu_hap_pt_share 5 >> #define XEN_SYSCTL_PHYSCAP_iommu_hap_pt_share \ >> (1u << _XEN_SYSCTL_PHYSCAP_iommu_hap_pt_share) >> -#define XEN_SYSCTL_PHYSCAP_vmtrace (1 << 6) >> +#define XEN_SYSCTL_PHYSCAP_vmtrace (1u<<6) >> +/* The platform supports vPMU. */ >> +#define XEN_SYSCTL_PHYSCAP_vpmu (1u<<7) > > While purely cosmetic and easily fixable while committing, I still > fail to understand why you did drop the blanks from the expression > you adjust and why you didn't add blanks to the new expression. > ./CODING_STYLE is quite clear in this respect, and even the code > in context does not suggest any alternative style. (While code just > outside of visible context does, it should not be used as excuse > to introduce further style violations.) > I was just biased by the previous entries. Previous entries were not added at once but commit after commit. No one did any remarks on that so I decided to stick to the "section standard". >From now one I will be looking only at the coding style even though the section is doing something else. If it is possible, please fix it while commiting. > Jan > Cheers, Michal
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |