From: Andrew Lunn <andrew@lunn.ch>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: Linux kernel netdev mailing list <netdev@vger.kernel.org>
Subject: Re: [PATCH] phy.h: fix obvious errors in doc and kerneldoc content
Date: Wed, 26 Dec 2018 13:25:26 +0100 [thread overview]
Message-ID: <20181226122526.GA5765@lunn.ch> (raw)
In-Reply-To: <alpine.LFD.2.21.1812260539460.2457@IT-590-06364.gateway.2wire.net>
On Wed, Dec 26, 2018 at 05:41:29AM -0600, Robert P. J. Day wrote:
>
> 1) gianfar_phy.c should clearly refer to gianfar.c
> 2) fix obvious copy and paste error in regular doc
> 3) change regular doc into kerneldoc for phy_modes()
>
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>
> ---
Hi Robert
> diff --git a/include/linux/phy.h b/include/linux/phy.h
> index 3ea87f774a76..1ca94a51a93e 100644
> --- a/include/linux/phy.h
> +++ b/include/linux/phy.h
> @@ -1,6 +1,6 @@
> /*
> * Framework and drivers for configuring and reading different PHYs
> - * Based on code in sungem_phy.c and gianfar_phy.c
> + * Based on code in sungem_phy.c and gianfar.c
Nope, checkout the commit which added this file:
git checkout 00db8189d984
and take a look around. You will find drivers/net/gianfar_phy.c It has
long since gone, but it was the basis for the framework.
> *
> * Author: Andy Fleming
> *
> @@ -106,8 +106,8 @@ typedef enum {
> * @speeds: buffer to store supported speeds in.
> * @size: size of speeds buffer.
> *
> - * Description: Returns the number of supported speeds, and
> - * fills the speeds * buffer with the supported speeds. If speeds buffer is
> + * Description: Returns the number of supported speeds, and fills
> + * the speeds buffer with the supported speeds. If speeds buffer is
> * too small to contain * all currently supported speeds, will return as
^^^
Don't forget this one.
Andrew
next prev parent reply other threads:[~2018-12-26 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-26 11:41 [PATCH] phy.h: fix obvious errors in doc and kerneldoc content Robert P. J. Day
2018-12-26 12:25 ` Andrew Lunn [this message]
2018-12-26 12:29 ` Robert P. J. Day
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=20181226122526.GA5765@lunn.ch \
--to=andrew@lunn.ch \
--cc=netdev@vger.kernel.org \
--cc=rpjday@crashcourse.ca \
/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