[PATCH] capability: remove non-kernel-doc comments

sergeh at kernel.org sergeh at kernel.org
Thu Jul 23 20:05:57 UTC 2026


On Thu, Jul 23, 2026 at 01:08:38PM -0400, Paul Moore wrote:
> 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.

Yup, I'll take it, thanks.

> Reviewed-by: Paul Moore <paul at paul-moore.com>




More information about the Linux-security-module-archive mailing list