• Matthew Wilcox's avatar
    Add optional check for bad kernel-doc comments · 3a025e1d
    Matthew Wilcox authored
    Implement a '-none' output mode for kernel-doc which will only output
    warning messages, and suppresses the warning message about there being
    no kernel-doc in the file.
    
    If the build has requested additional warnings, automatically check all
    .c files.  This patch does not check .h files.  Enabling the warning
    by default would add about 1300 warnings, so it's default off for now.
    People who care can use this to check they didn't break the docs and
    maybe we'll get all the warnings fixed and be able to enable this check
    by default in the future.
    Signed-off-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    3a025e1d
kernel-doc 92.4 KB