mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: airlied@linux.ie, daniel.vetter@ffwll.ch, arnd@arndb.de,
	gregkh@linuxfoundation.org,
	James.Bottomley@HansenPartnership.com, deller@gmx.de
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 3/7] agp: Documentation fixes
Date: Fri, 12 Nov 2021 15:16:24 +0100	[thread overview]
Message-ID: <20211112141628.12904-4-tzimmermann@suse.de> (raw)
In-Reply-To: <20211112141628.12904-1-tzimmermann@suse.de>

Fix compiler warnings

  drivers/char/agp/backend.c:68: warning: Function parameter or member 'pdev' not described in 'agp_backend_acquire'
  drivers/char/agp/backend.c:93: warning: Function parameter or member 'bridge' not described in 'agp_backend_release'

by adding the necessary documentation.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/char/agp/backend.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/char/agp/backend.c b/drivers/char/agp/backend.c
index 004a3ce8ba72..0e19c600db53 100644
--- a/drivers/char/agp/backend.c
+++ b/drivers/char/agp/backend.c
@@ -62,6 +62,7 @@ EXPORT_SYMBOL(agp_find_bridge);
 
 /**
  *	agp_backend_acquire  -  attempt to acquire an agp backend.
+ *	@pdev: the PCI device
  *
  */
 struct agp_bridge_data *agp_backend_acquire(struct pci_dev *pdev)
@@ -83,6 +84,7 @@ EXPORT_SYMBOL(agp_backend_acquire);
 
 /**
  *	agp_backend_release  -  release the lock on the agp backend.
+ *	@bridge: the AGP backend to release
  *
  *	The caller must insure that the graphics aperture translation table
  *	is read for use by another entity.
-- 
2.33.1


  parent reply	other threads:[~2021-11-12 14:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12 14:16 [PATCH 0/7] agp: Various minor fixes Thomas Zimmermann
2021-11-12 14:16 ` [PATCH 1/7] agp: Remove trailing whitespaces Thomas Zimmermann
2021-11-12 14:16 ` [PATCH 2/7] agp: Include "compat_ioctl.h" where necessary Thomas Zimmermann
2021-11-12 14:16 ` Thomas Zimmermann [this message]
2021-11-12 14:16 ` [PATCH 4/7] agp/ati: Return error from ati_create_page_map() Thomas Zimmermann
2021-11-30 10:11   ` Helge Deller
2021-11-12 14:16 ` [PATCH 5/7] agp/nvidia: Ignore value returned by readl() Thomas Zimmermann
2021-11-30 10:13   ` Helge Deller
2021-11-12 14:16 ` [PATCH 6/7] agp/sworks: Remove unused variable 'current_size' Thomas Zimmermann
2021-11-12 14:16 ` [PATCH 7/7] agp/via: " Thomas Zimmermann
2021-11-30 10:03 ` [PATCH 0/7] agp: Various minor fixes Thomas Zimmermann
2021-11-30 10:17   ` Helge Deller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211112141628.12904-4-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=airlied@linux.ie \
    --cc=arnd@arndb.de \
    --cc=daniel.vetter@ffwll.ch \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®