[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH v2 2/2] xen/bitmap: remove redundant deviations
On Tue, 10 Sep 2024, Federico Serafini wrote: > Remove comment-based deviations since a project wide deviation that > cover such cases is present. > > Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx> Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> > --- > Changes from v1: > - split modifications in two patches. > --- > xen/include/xen/bitmap.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/xen/include/xen/bitmap.h b/xen/include/xen/bitmap.h > index 5d668053b0..4b642cd420 100644 > --- a/xen/include/xen/bitmap.h > +++ b/xen/include/xen/bitmap.h > @@ -103,13 +103,10 @@ extern int bitmap_allocate_region(unsigned long > *bitmap, int pos, int order); > #define bitmap_switch(nbits, zero, small, large) \ > unsigned int n__ = (nbits); \ > if (__builtin_constant_p(nbits) && !n__) { \ > - /* SAF-7-safe Rule 20.7 non-parenthesized macro argument */ \ > zero; \ > } else if (__builtin_constant_p(nbits) && n__ <= BITS_PER_LONG) { \ > - /* SAF-7-safe Rule 20.7 non-parenthesized macro argument */ \ > small; \ > } else { \ > - /* SAF-7-safe Rule 20.7 non-parenthesized macro argument */ \ > large; \ > } > > -- > 2.34.1 >
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |