1. 19 10月, 2018 2 次提交
    • R
      kernel-doc: fix declaration type determination · cf419d54
      Randy Dunlap 提交于
      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: NRandy Dunlap <rdunlap@infradead.org>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Tested-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      cf419d54
    • G
      doc: fix a typo in adding-syscalls.rst · 418ca3de
      Guillaume Dore 提交于
      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: NGuillaume Dore <corwin@poussif.eu>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      418ca3de
  2. 13 10月, 2018 9 次提交
  3. 07 10月, 2018 4 次提交
  4. 21 9月, 2018 6 次提交
  5. 12 9月, 2018 1 次提交
  6. 10 9月, 2018 4 次提交
  7. 06 9月, 2018 5 次提交
    • T
      FireWire: add driver-api Introduction section · 2f4830ef
      Takashi Sakamoto 提交于
      Replace the Introduction section's TBD with some useful overview text.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: NRandy Dunlap <rdunlap@infradead.org>
      Tested-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NRandy 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: NJonathan Corbet <corbet@lwn.net>
      2f4830ef
    • R
      FireWire: add a Documentation driver-api chapter · ea2ae0ec
      Randy Dunlap 提交于
      Add a basic Firewire/IEEE 1394 driver API chapter to the Linux
      kernel documentation.
      Signed-off-by: NRandy 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: NJonathan Corbet <corbet@lwn.net>
      ea2ae0ec
    • R
      FireWire: clean up core-transaction.c kernel-doc · 226b18ad
      Randy Dunlap 提交于
      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: NRandy 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: NJonathan Corbet <corbet@lwn.net>
      226b18ad
    • R
      FireWire: clean up core-iso.c kernel-doc · 48f02b88
      Randy Dunlap 提交于
      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: NRandy 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: NJonathan Corbet <corbet@lwn.net>
      48f02b88
    • R
      FireWire: clean up firewire-cdev.h kernel-doc · 9a400682
      Randy Dunlap 提交于
      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: NRandy 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: NJonathan Corbet <corbet@lwn.net>
      9a400682
  8. 01 9月, 2018 8 次提交
  9. 27 8月, 2018 1 次提交