From: Johannes Berg <johannes@sipsolutions.net>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: correct warnings in minstrel rate control algorithm
Date: Thu, 23 Oct 2008 08:41:52 +0200 [thread overview]
Message-ID: <1224744112.5865.13.camel@johannes.berg> (raw)
In-Reply-To: <1224718894-25861-1-git-send-email-linville@tuxdriver.com> (sfid-20081023_014146_340361_0F53A941)
[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]
Thanks, somehow I thought Felix had already posted that. Must've been
wishful thinking ;)
On Wed, 2008-10-22 at 19:41 -0400, John W. Linville wrote:
> Signed-off-by: John W. Linville <linville@tuxdriver.com>
> ---
> net/mac80211/rc80211_minstrel_debugfs.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/net/mac80211/rc80211_minstrel_debugfs.c b/net/mac80211/rc80211_minstrel_debugfs.c
> index 0b024cd..98f4807 100644
> --- a/net/mac80211/rc80211_minstrel_debugfs.c
> +++ b/net/mac80211/rc80211_minstrel_debugfs.c
> @@ -94,8 +94,8 @@ minstrel_stats_open(struct inode *inode, struct file *file)
> prob / 10, prob % 10,
> mr->last_success,
> mr->last_attempts,
> - mr->succ_hist,
> - mr->att_hist);
> + (unsigned long long)mr->succ_hist,
> + (unsigned long long)mr->att_hist);
> }
> p += sprintf(p, "\nTotal packet count:: ideal %d "
> "lookaround %d\n\n",
> @@ -106,7 +106,7 @@ minstrel_stats_open(struct inode *inode, struct file *file)
> return 0;
> }
>
> -static int
> +static ssize_t
> minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *o)
> {
> struct minstrel_stats_info *ms;
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2008-10-23 6:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-22 23:41 [PATCH] mac80211: correct warnings in minstrel rate control algorithm John W. Linville
2008-10-23 6:41 ` Johannes Berg [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=1224744112.5865.13.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/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