From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:50318 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030320AbbKFAkM (ORCPT ); Thu, 5 Nov 2015 19:40:12 -0500 Subject: Patch "fault-inject: fix inverted interval/probability values in printk" has been added to the 4.2-stable tree To: fw@strlen.de, akinobu.mita@gmail.com, akpm@linux-foundation.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org Cc: , From: Date: Thu, 05 Nov 2015 16:40:11 -0800 Message-ID: <144677041155248@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled fault-inject: fix inverted interval/probability values in printk to the 4.2-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: fault-inject-fix-inverted-interval-probability-values-in-printk.patch and it can be found in the queue-4.2 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From bb387002693ed28b2bb0408c5dec65521b71e5f1 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 22 Oct 2015 13:32:27 -0700 Subject: fault-inject: fix inverted interval/probability values in printk From: Florian Westphal commit bb387002693ed28b2bb0408c5dec65521b71e5f1 upstream. interval displays the probability and vice versa. Fixes: 6adc4a22f20bb ("fault-inject: add ratelimit option") Acked-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- lib/fault-inject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/fault-inject.c +++ b/lib/fault-inject.c @@ -44,7 +44,7 @@ static void fail_dump(struct fault_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) Patches currently in stable-queue which might be from fw@strlen.de are queue-4.2/fault-inject-fix-inverted-interval-probability-values-in-printk.patch