• Jakub Kicinski's avatar
    net: ynl: prefix uAPI header include with uapi/ · 9b66ee06
    Jakub Kicinski authored
    To keep things simple we used to include the uAPI header
    in the kernel in the #include <linux/$family.h> format.
    This works well enough, most of the genl families should
    have headers in include/net/ so linux/$family.h ends up
    referring to the uAPI header, anyway. And if it doesn't
    no big deal, we'll just include more info than we need.
    
    Unless that is there is a naming conflict. Someone recently
    created include/linux/psp.h which will be a problem when
    supporting the PSP protocol. (I'm talking about
    work-in-progress patches, but it's just a proof that assuming
    lack of name conflicts was overly optimistic.)
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9b66ee06
fou_nl.c 1.39 KB