On Thu, 27 Aug 2020 11:07:30 -0700 Shannon Nelson wrote: > + q_base = (void *)PTR_ALIGN((uintptr_t)new->q_base, PAGE_SIZE);
The point of PTR_ALIGN is to make the casts unnecessary. Does it not work?
On Thu, 27 Aug 2020 11:07:30 -0700 Shannon Nelson wrote: > + q_base = (void *)PTR_ALIGN((uintptr_t)new->q_base, PAGE_SIZE);
The point of PTR_ALIGN is to make the casts unnecessary. Does it not work?