public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
	Arjan van de Ven <arjan@infradead.org>,
	Frank Pavlic <fpavlic@de.ibm.com>
Subject: [patch 4/4] lock validator: fix qeth compile warning
Date: Fri, 23 Jun 2006 15:28:11 +0200	[thread overview]
Message-ID: <20060623132811.GH9446@osiris.boeblingen.de.ibm.com> (raw)

From: Heiko Carstens <heiko.carstens@de.ibm.com>

Add #ifdef CONFIG_LOCKDEP to avoid compile warning.

Cc: Frank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---

 drivers/s390/net/qeth_main.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6.17-mm1/drivers/s390/net/qeth_main.c
===================================================================
--- linux-2.6.17-mm1.orig/drivers/s390/net/qeth_main.c
+++ linux-2.6.17-mm1/drivers/s390/net/qeth_main.c
@@ -85,7 +85,9 @@ static debug_info_t *qeth_dbf_qerr = NUL
 
 DEFINE_PER_CPU(char[256], qeth_dbf_txt_buf);
 
+#ifdef CONFIG_LOCKDEP
 static struct lockdep_type_key qdio_out_skb_queue_key;
+#endif
 
 /**
  * some more definitions and declarations

             reply	other threads:[~2006-06-23 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-23 13:28 Heiko Carstens [this message]
2006-06-23 13:40 ` [patch 4/4] lock validator: fix qeth compile warning Ingo Molnar

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=20060623132811.GH9446@osiris.boeblingen.de.ibm.com \
    --to=heiko.carstens@de.ibm.com \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=fpavlic@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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