Messages in this thread | | | Date | Tue, 5 Oct 2021 17:05:18 -0400 | From | Steven Rostedt <> | Subject | Re: [RFC][PATCH] rcu: Use typeof(p) instead of typeof(*p) * |
| |
On Tue, 5 Oct 2021 13:45:52 -0700 Linus Torvalds <torvalds@linux-foundation.org> wrote:
> If there was some clean and simple solution to the compiler warning > problem, that would be one thing. But when you think you need to > change core RCU macros, or lie to the compiler about the type system, > at that point it's not some clean and simple fix any more. At that > point you're literally making things worse than just exposing the > type.
Fine, I'll just create a separate header file with all that is needed and add it to the include. At least that way, it doesn't muck up the rest of the header file.
-- Steve
| |