]> git.baikalelectronics.ru Git - kernel.git/commit
mm/doc: turn fault flags into an enum
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 30 Apr 2021 05:59:31 +0000 (22:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 Apr 2021 18:20:41 +0000 (11:20 -0700)
commit3b95c65c2ed6b7c83d5dd68779ac5006d2f07b86
treee39d5631af1477ab7e213aa55c336d1a4e4e5e35
parent44e774539f458ea4a6988a8f8ac99d64c6c56273
mm/doc: turn fault flags into an enum

The kernel-doc script complains about

  include/linux/mm.h:425: warning: wrong kernel-doc identifier on line:
   * Fault flag definitions.

I don't know how to document a series of #defines, so turn these
definitions into an enum and document that instead.

Link: https://lkml.kernel.org/r/20210322195022.2143603-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h