lkml.org 
[lkml]   [2022]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Intel-gfx] [PATCH v2 26/39] drm/i915: i915_gem.c fix a kernel-doc issue
    On Wed, Jul 13, 2022 at 09:12:14AM +0100, Mauro Carvalho Chehab wrote:
    > Prevent this Sphinx warning:
    >
    > Documentation/foo/i915:728: ./drivers/gpu/drm/i915/i915_gem.c:447: WARNING: Inline emphasis start-string without end-string.
    >
    > By using @data to identify the data field, as expected by kernel-doc.
    >
    > Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

    Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

    > ---
    >
    > To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
    > See [PATCH v2 00/39] at: https://lore.kernel.org/all/cover.1657699522.git.mchehab@kernel.org/
    >
    > drivers/gpu/drm/i915/i915_gem.c | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
    > index 41e83d078a70..0ca4bb08ea78 100644
    > --- a/drivers/gpu/drm/i915/i915_gem.c
    > +++ b/drivers/gpu/drm/i915/i915_gem.c
    > @@ -444,7 +444,7 @@ i915_gem_gtt_pread(struct drm_i915_gem_object *obj,
    > * @data: ioctl data blob
    > * @file: drm file pointer
    > *
    > - * On error, the contents of *data are undefined.
    > + * On error, the contents of @data is undefined.
    > */
    > int
    > i915_gem_pread_ioctl(struct drm_device *dev, void *data,
    > --
    > 2.36.1
    >

    \
     
     \ /
      Last update: 2022-07-15 23:27    [W:4.223 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site