[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161205102030.2abae2b5@vento.lan>
Date: Mon, 5 Dec 2016 10:20:53 -0200
From: Mauro Carvalho Chehab <mchehab@....samsung.com>
To: Lukas Wunner <lukas@...ner.de>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jonathan Corbet <corbet@....net>,
Silvio Fricke <silvio.fricke@...il.com>,
"Luis R. Rodriguez" <mcgrof@...nel.org>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Andrzej Hajda <a.hajda@...sung.com>,
Inki Dae <inki.dae@...sung.com>,
Joerg Roedel <joro@...tes.org>, Kukjin Kim <kgene@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Mark Brown <broonie@...nel.org>,
Tomeu Vizoso <tomeu.vizoso@...labora.com>,
Kevin Hilman <khilman@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Tobias Jakobi <tjakobi@...h.uni-bielefeld.de>,
Tomasz Figa <tomasz.figa@...il.com>,
Grant Likely <grant.likely@...retlab.ca>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Christoph Hellwig <hch@...radead.org>,
Arnd Bergmann <arnd@...db.de>,
Alan Stern <stern@...land.harvard.edu>,
Hanjun Guo <guohanjun@...wei.com>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, iommu@...ts.linux-foundation.org,
linux-samsung-soc@...r.kernel.org
Subject: Re: [PATCH 2/2] driver core: Silence device links sphinx warning
Em Sun, 4 Dec 2016 13:10:04 +0100
Lukas Wunner <lukas@...ner.de> escreveu:
> Silence this warning emitted by sphinx:
> include/linux/device.h:938: warning: No description found for parameter 'links'
>
> While at it, fix typos in comments of device links code.
>
> Cc: Rafael J. Wysocki <rafael@...nel.org>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: Jonathan Corbet <corbet@....net>
> Cc: Silvio Fricke <silvio.fricke@...il.com>
> Signed-off-by: Lukas Wunner <lukas@...ner.de>
> ---
> drivers/base/core.c | 4 ++--
> include/linux/device.h | 1 +
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/base/core.c b/drivers/base/core.c
> index d0c9df5..8c25e68 100644
> --- a/drivers/base/core.c
> +++ b/drivers/base/core.c
> @@ -172,7 +172,7 @@ static int device_reorder_to_tail(struct device *dev, void *not_used)
> *
> * The supplier device is required to be registered when this function is called
> * and NULL will be returned if that is not the case. The consumer device need
> - * not be registerd, however.
> + * not be registered, however.
> */
> struct device_link *device_link_add(struct device *consumer,
> struct device *supplier, u32 flags)
> @@ -225,7 +225,7 @@ struct device_link *device_link_add(struct device *consumer,
> INIT_LIST_HEAD(&link->c_node);
> link->flags = flags;
>
> - /* Deterine the initial link state. */
> + /* Determine the initial link state. */
> if (flags & DL_FLAG_STATELESS) {
> link->status = DL_STATE_NONE;
> } else {
> diff --git a/include/linux/device.h b/include/linux/device.h
> index 3896af4..87edfdf 100644
> --- a/include/linux/device.h
> +++ b/include/linux/device.h
> @@ -813,6 +813,7 @@ struct dev_links_info {
> * on. This shrinks the "Board Support Packages" (BSPs) and
> * minimizes board-specific #ifdefs in drivers.
> * @driver_data: Private pointer for driver specific info.
> + * @links: Links to suppliers and consumers of this device.
> * @power: For device power management.
> * See Documentation/power/admin-guide/devices.rst for details.
> * @pm_domain: Provide callbacks that are executed during system suspend,
Hmm... I'm not seeing "links" at driver-core-next:
https://git.kernel.org/cgit/linux/kernel/git/gregkh/driver-core.git/tree/include/linux/device.h?h=driver-core-next
On what tree did you base this patch?
--
Thanks,
Mauro
Powered by blists - more mailing lists