• Aditya Srivastava's avatar
    crypto: ux500 - fix incorrect kernel-doc comment syntax · ce668da5
    Aditya Srivastava authored
    The opening comment mark '/**' is used for highlighting the beginning of
    kernel-doc comments.
    There are certain files in drivers/crypto/ux500, which follow this syntax,
    but the content inside does not comply with kernel-doc.
    Such lines were probably not meant for kernel-doc parsing, but are parsed
    due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
    causes unexpected warnings from kernel-doc.
    
    E.g., presence of kernel-doc like comment in the header lines for
    drivers/crypto/ux500/cryp/cryp.h at header causes this warning:
    
    "warning: expecting prototype for ST(). Prototype was for _CRYP_H_() instead"
    
    Similarly for other files too.
    
    Provide a simple fix by replacing such occurrences with general comment
    format, i.e. '/*', to prevent kernel-doc from parsing it.
    Signed-off-by: default avatarAditya Srivastava <yashsri421@gmail.com>
    Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    ce668da5
cryp_irqp.h 4.01 KB