lkml.org 
[lkml]   [2021]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2021-10-05 23:05    [W:3.884 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site