From: Greg KH <gregkh@linuxfoundation.org>
To: "D. Starke" <daniel.starke@siemens.com>
Cc: linux-serial@vger.kernel.org, jirislaby@kernel.org,
ilpo.jarvinen@linux.intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 8/8] tty: n_gsm: add DLCI specific rx/tx statistics
Date: Sat, 13 May 2023 19:23:57 +0900 [thread overview]
Message-ID: <2023051332-ethics-renounce-b61d@gregkh> (raw)
In-Reply-To: <20230426080315.7595-8-daniel.starke@siemens.com>
On Wed, Apr 26, 2023 at 10:03:15AM +0200, D. Starke wrote:
> From: Daniel Starke <daniel.starke@siemens.com>
>
> Add counters for the number of data bytes received/transmitted per DLCI in
> for preparation for an upcoming patch which will expose these values to the
> user.
As this is patch 8/8, "upcoming patch" makes no sense, sorry. Please
either drop this and add it as part of the series that provides this
functionality, or add the functionality to the patch series as the next
patch in it.
>
> Signed-off-by: Daniel Starke <daniel.starke@siemens.com>
> ---
> drivers/tty/n_gsm.c | 25 ++++++++++++++++++++++++-
> 1 file changed, 24 insertions(+), 1 deletion(-)
>
> v3 -> v4:
> No changes.
>
> Link: https://lore.kernel.org/all/20230424075251.5216-8-daniel.starke@siemens.com/
>
> diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
> index 62bff4474b57..2e2e1dafcf40 100644
> --- a/drivers/tty/n_gsm.c
> +++ b/drivers/tty/n_gsm.c
> @@ -186,6 +186,9 @@ struct gsm_dlci {
> void (*data)(struct gsm_dlci *dlci, const u8 *data, int len);
> void (*prev_data)(struct gsm_dlci *dlci, const u8 *data, int len);
> struct net_device *net; /* network interface, if created */
> + /* Statistics (not currently exposed) */
No blank line before this?
And why isn't this structure documented in kerneldoc to make it more
obvious what is happening?
thanks,
greg k-h
next prev parent reply other threads:[~2023-05-13 10:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-26 8:03 [PATCH v4 1/8] tty: n_gsm: add restart flag to DLC specific ioctl config D. Starke
2023-04-26 8:03 ` [PATCH v4 2/8] tty: n_gsm: add missing description to structs in gsmmux.h D. Starke
2023-04-26 8:03 ` [PATCH v4 3/8] tty: n_gsm: remove unneeded initialization of ret in gsm_dlci_config D. Starke
2023-04-26 8:03 ` [PATCH v4 4/8] tty: n_gsm: add open_error counter to gsm_mux D. Starke
2023-04-26 8:03 ` [PATCH v4 5/8] tty: n_gsm: increase malformed counter for malformed control frames D. Starke
2023-04-26 8:03 ` [PATCH v4 6/8] tty: n_gsm: increase gsm_mux unsupported counted where appropriate D. Starke
2023-04-26 8:03 ` [PATCH v4 7/8] tty: n_gsm: cleanup gsm_control_command and gsm_control_reply D. Starke
2023-04-26 8:03 ` [PATCH v4 8/8] tty: n_gsm: add DLCI specific rx/tx statistics D. Starke
2023-05-13 10:23 ` Greg KH [this message]
2023-05-15 10:47 ` Starke, Daniel
2023-05-13 10:22 ` [PATCH v4 1/8] tty: n_gsm: add restart flag to DLC specific ioctl config Greg KH
2023-05-15 10:39 ` Starke, Daniel
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=2023051332-ethics-renounce-b61d@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=daniel.starke@siemens.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@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