[PATCH] capability: remove non-kernel-doc comments
Paul Moore
paul at paul-moore.com
Thu Jul 23 17:08:38 UTC 2026
On Thu, Jul 23, 2026 at 12:52 PM Randy Dunlap <rdunlap at infradead.org> wrote:
>
> Convert 2 "/**" comments to use plain C "/*" comment style to avoid
> kernel-doc warnings:
>
> Warning: include/uapi/linux/capability.h:114 expecting prototype for
> POSIX(). Prototype was for CAP_CHOWN() instead
> Warning: include/uapi/linux/capability.h:175 expecting prototype for
> Linux(). Prototype was for CAP_SETPCAP() instead
>
> Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
> ---
> Cc: Paul Moore <paul at paul-moore.com>
> Cc: James Morris <jmorris at namei.org>
> Cc: "Serge E. Hallyn" <serge at hallyn.com>
>
> include/uapi/linux/capability.h | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
I'm assuming Serge will take this via the capabilities tree, but I can
always take it via the LSM tree if he prefers.
Reviewed-by: Paul Moore <paul at paul-moore.com>
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list