On Mon, Aug 29, 2022 at 03:13:17PM +0200, Linus Walleij wrote: > The virt_addr_valid() should be passed a pointer, the current > code passing a long unsigned int is just exploiting the > unintentional polymorphism of these calls being implemented > as preprocessor macros. Why do you think it's unintended polymorphism? It looks to me like polymorphism is absolutely intended.