lkml.org 
[lkml]   [2022]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 742/846] Documentation: fix firewire.rst ABI file path error
    Date
    From: Randy Dunlap <rdunlap@infradead.org>

    commit b0ac702f3329cdc8a06dcaac73183d4b5a2b942d upstream.

    Adjust the path of the ABI files for firewire.rst to prevent a
    documentation build error. Prevents this problem:

    Sphinx parallel build error:
    docutils.utils.SystemMessage: Documentation/driver-api/firewire.rst:22: (SEVERE/4) Problems with "include" directive path:
    InputError: [Errno 2] No such file or directory: '../Documentation/driver-api/ABI/stable/firewire-cdev'.

    Fixes: 2f4830ef96d2 ("FireWire: add driver-api Introduction section")
    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Tested-by: Akira Yokosawa <akiyks@gmail.com>
    Link: https://lore.kernel.org/r/20220119033905.4779-1-rdunlap@infradead.org
    Signed-off-by: Jonathan Corbet <corbet@lwn.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    Documentation/driver-api/firewire.rst | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- a/Documentation/driver-api/firewire.rst
    +++ b/Documentation/driver-api/firewire.rst
    @@ -19,7 +19,7 @@ of kernel interfaces is available via ex
    Firewire char device data structures
    ====================================

    -.. include:: /ABI/stable/firewire-cdev
    +.. include:: ../ABI/stable/firewire-cdev
    :literal:

    .. kernel-doc:: include/uapi/linux/firewire-cdev.h
    @@ -28,7 +28,7 @@ Firewire char device data structures
    Firewire device probing and sysfs interfaces
    ============================================

    -.. include:: /ABI/stable/sysfs-bus-firewire
    +.. include:: ../ABI/stable/sysfs-bus-firewire
    :literal:

    .. kernel-doc:: drivers/firewire/core-device.c

    \
     
     \ /
      Last update: 2022-01-24 22:40    [W:3.147 / U:0.948 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site