1. 18 Oct, 2018 2 commits
    • Randy Dunlap's avatar
      kernel-doc: fix declaration type determination · cf419d54
      Randy Dunlap authored
      Make declaration type determination more robust.
      
      When scripts/kernel-doc is deciding if some kernel-doc notation
      contains an enum, a struct, a union, a typedef, or a function,
      it does a pattern match on the beginning of the string, looking
      for a match with one of "struct", "union", "enum", or "typedef",
      and otherwise defaults to a function declaration type.
      However, if a function or a function-like macro has a name that
      begins with "struct" (e.g., struct_size()), then kernel-doc
      incorrectly decides that this is a struct declaration.
      
      Fix this by looking for the declaration type keywords having an
      ending word boundary (\b), so that "struct_size" will not match
      a struct declaration.
      
      I compared lots of html before/after output from core-api, driver-api,
      and networking.  There were no differences in any of the files that
      I checked.
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
      Tested-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      cf419d54
    • Guillaume Dore's avatar
      doc: fix a typo in adding-syscalls.rst · 418ca3de
      Guillaume Dore authored
      There was a typo in adding-syscalls.rst that could mislead developers
      to add a C filename in a makefile instead of an object filename.
      This error, while not keeping developers from contributing could slow
      the development process down by introducing build errors.
      Signed-off-by: default avatarGuillaume Dore <corwin@poussif.eu>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      418ca3de
  2. 12 Oct, 2018 9 commits
  3. 07 Oct, 2018 4 commits
  4. 20 Sep, 2018 6 commits
  5. 11 Sep, 2018 1 commit
  6. 09 Sep, 2018 4 commits
  7. 06 Sep, 2018 5 commits
    • Takashi Sakamoto's avatar
      FireWire: add driver-api Introduction section · 2f4830ef
      Takashi Sakamoto authored
      Replace the Introduction section's TBD with some useful overview text.
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
      Cc: linux-doc@vger.kernel.org
      Cc: linux-scsi@vger.kernel.org
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
      Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      2f4830ef
    • Randy Dunlap's avatar
      FireWire: add a Documentation driver-api chapter · ea2ae0ec
      Randy Dunlap authored
      Add a basic Firewire/IEEE 1394 driver API chapter to the Linux
      kernel documentation.
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
      Cc: linux-doc@vger.kernel.org
      Cc: linux-scsi@vger.kernel.org
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
      Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      ea2ae0ec
    • Randy Dunlap's avatar
      FireWire: clean up core-transaction.c kernel-doc · 226b18ad
      Randy Dunlap authored
      Clean up kernel-doc warnings in <drivers/firewire/core-transaction.c>
      so that it can be added to a Firewire/IEEE 1394 driver-api chapter
      without adding lots of noisy warnings to the documentation build.
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
      Cc: linux-doc@vger.kernel.org
      Cc: linux-scsi@vger.kernel.org
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
      Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      226b18ad
    • Randy Dunlap's avatar
      FireWire: clean up core-iso.c kernel-doc · 48f02b88
      Randy Dunlap authored
      Clean up kernel-doc warnings in <drivers/firewire/core-iso.c> so that
      it can be added to a Firewire/IEEE 1394 driver-api chapter
      without adding lots of noisy warnings to the documentation build.
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
      Cc: linux-doc@vger.kernel.org
      Cc: linux-scsi@vger.kernel.org
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
      Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      48f02b88
    • Randy Dunlap's avatar
      FireWire: clean up firewire-cdev.h kernel-doc · 9a400682
      Randy Dunlap authored
      Clean up kernel-doc warnings in <linux/firewire-cdev.h> so that
      it can be added to a Firewire/IEEE 1394 driver-api chapter
      without adding lots of noisy warnings to the documentation build.
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
      Cc: linux-doc@vger.kernel.org
      Cc: linux-scsi@vger.kernel.org
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
      Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      9a400682
  8. 31 Aug, 2018 8 commits
  9. 26 Aug, 2018 1 commit