On Tue, Apr 20, 2021 at 08:27:54PM +0300, Emmanuel Grumbach wrote: > +#define ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) What's wrong with roundup() that the kernel provides? Please don't reinvent things we already have :( thanks, greg k-h
On Tue, Apr 20, 2021 at 08:27:54PM +0300, Emmanuel Grumbach wrote: > +#define ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) What's wrong with roundup() that the kernel provides? Please don't reinvent things we already have :( thanks, greg k-h