linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Matteo Croce <matteo@openwrt.org>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: Format connected time
Date: Mon, 1 Sep 2014 10:36:11 +0200	[thread overview]
Message-ID: <54042FFB.2020908@broadcom.com> (raw)
In-Reply-To: <CAFnufp1YWig-j_5bK=Vkp+w2F6vDy=HH5U=OVVYo2bzQ4aXrBg@mail.gmail.com>

On 09/01/14 10:25, Matteo Croce wrote:
> Format connected_time in the form hh:mm:ss

Hi Matteo,

This is not a proper patch submission. Please read the file 
Documentation/SubmittingPatches. Especially, sections 11) and 12). Also 
would be good to have 'mac80211:' prefix in the subject line and it is 
recommended to submit changes to the maintainer and cc the mailing list.

Hope this helps. No guarantees this change will be applied though.

Regards,
Arend

> --- a/net/mac80211/debugfs_sta.c
> +++ b/net/mac80211/debugfs_sta.c
> @@ -130,7 +130,7 @@ static ssize_t sta_connected_time_read(struct file
> *file, char __user *userbuf,
>    result.tm_year -= 70;
>    result.tm_mday -= 1;
>    res = scnprintf(buf, sizeof(buf),
> - "years  - %ld\nmonths - %d\ndays   - %d\nclock  - %d:%d:%d\n\n",
> + "years  - %ld\nmonths - %d\ndays   - %d\nclock  - %02d:%02d:%02d\n\n",
>    result.tm_year, result.tm_mon, result.tm_mday,
>    result.tm_hour, result.tm_min, result.tm_sec);
>    return simple_read_from_buffer(userbuf, count, ppos, buf, res);
>


      reply	other threads:[~2014-09-01  8:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01  8:25 Format connected time Matteo Croce
2014-09-01  8:36 ` Arend van Spriel [this message]

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=54042FFB.2020908@broadcom.com \
    --to=arend@broadcom.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=matteo@openwrt.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;
as well as URLs for NNTP newsgroup(s).