linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <brouer@redhat.com>
To: akinobu.mita@gmail.com, linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>,
	dmonakhov@openvz.org, brouer@redhat.com,
	Florian Westphal <fw@strlen.de>
Subject: Re: [PATCH] fault-inject: correct printk order for interval vs. probability
Date: Wed, 18 Nov 2015 09:39:45 +0100	[thread overview]
Message-ID: <20151118093945.4bbd6bd7@redhat.com> (raw)
In-Reply-To: <20151117114750.12395.53387.stgit@firesoul>


Disregard this patch... Florian already fixed it in:

 bb387002693e ("fault-inject: fix inverted interval/probability values in printk")

$ git describe --contains bb387002693e
v4.3-rc7~11^2~1


On Tue, 17 Nov 2015 12:48:37 +0100
Jesper Dangaard Brouer <brouer@redhat.com> wrote:

> In function fail_dump() printk output of the attributes interval and
> probability got swapped.  This was introduced in commit
> 6adc4a22f20b ("fault-inject: add ratelimit option").
> 
> Fixes: 6adc4a22f20b ("fault-inject: add ratelimit option")
> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
> 
> ---
> Don't know who is maintainer for lib/, hope someone will
> pick this up...
> 
>  lib/fault-inject.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/fault-inject.c b/lib/fault-inject.c
> index f1cdeb024d17..6a823a53e357 100644
> --- a/lib/fault-inject.c
> +++ b/lib/fault-inject.c
> @@ -44,7 +44,7 @@ static void fail_dump(struct fault_attr *attr)
>  		printk(KERN_NOTICE "FAULT_INJECTION: forcing a failure.\n"
>  		       "name %pd, interval %lu, probability %lu, "
>  		       "space %d, times %d\n", attr->dname,
> -		       attr->probability, attr->interval,
> +		       attr->interval, attr->probability,
>  		       atomic_read(&attr->space),
>  		       atomic_read(&attr->times));
>  		if (attr->verbose > 1)

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  Author of http://www.iptv-analyzer.org
  LinkedIn: http://www.linkedin.com/in/brouer

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2015-11-18  8:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17 11:48 Jesper Dangaard Brouer
2015-11-18  8:39 ` Jesper Dangaard Brouer [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=20151118093945.4bbd6bd7@redhat.com \
    --to=brouer@redhat.com \
    --cc=akinobu.mita@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=dmonakhov@openvz.org \
    --cc=fw@strlen.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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