mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Don Mullis <dwm@meer.net>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [patch 5/6] debugfs entries for configuration [bug fix]
Date: Wed, 06 Sep 2006 09:07:21 -0700	[thread overview]
Message-ID: <1157558841.9460.53.camel@localhost.localdomain> (raw)

Fix compilation when (CONFIG_FAILSLAB=n ^ CONFIG_FAIL_MAKE_REQUEST=n).

Signed-off-by: Don Mullis <dwm@meer.net>

---
 lib/should_fail_knobs.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.17/lib/should_fail_knobs.c
===================================================================
--- linux-2.6.17.orig/lib/should_fail_knobs.c
+++ linux-2.6.17/lib/should_fail_knobs.c
@@ -124,13 +124,13 @@ static struct should_fail_knobs fail_mak
 static void cleanup_knobs(void)
 {
 #ifdef CONFIG_FAILSLAB
-	cleanup_should_fail_knobs(&fail_make_request_knobs);
+	cleanup_should_fail_knobs(&failslab_knobs);
 #endif
 #ifdef CONFIG_FAIL_PAGE_ALLOC
 	cleanup_should_fail_knobs(&fail_page_alloc_knobs);
 #endif
 #ifdef CONFIG_FAIL_MAKE_REQUEST
-	cleanup_should_fail_knobs(&failslab_knobs);
+	cleanup_should_fail_knobs(&fail_make_request_knobs);
 #endif
 }
 



                 reply	other threads:[~2006-09-06 16:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1157558841.9460.53.camel@localhost.localdomain \
    --to=dwm@meer.net \
    --cc=linux-kernel@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

Powered by JetHome