On Wed, 2022-04-20 at 13:55 -0700, Isaku Yamahata wrote: > > +/* Check whether first range is the subrange of the second */ > > +static bool is_subrange(u64 r1_start, u64 r1_end, u64 r2_start, u64 r2_end) > > +{ > > + return (r1_start >= r2_start && r1_end <= r2_end) ? true : false; > > nitpick: > Just "return (r1_start >= r2_start && r1_end <= r2_end)" > Maybe this is a matter of preference, though. Will use yours. Thanks! -- Thanks, -Kai