linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rasmus Andersen <rasmus@jaquet.dk>
To: kkeil@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] drivers/isdn/hisax/nj_{s,u}.c fails compilation (2.4.0-test10)
Date: Tue, 7 Nov 2000 00:03:38 +0100	[thread overview]
Message-ID: <20001107000338.E726@jaquet.dk> (raw)

Hi.

If I compile a 2.4.0-test10 kernel without pci support I get a compile
error in both drivers/isdn/hisax/nj_u.c and nj_s.c. The patch below
fixes these in what I hope is the Right Way. But I am not sure, so
Linus is not cc'ed on this. Please forward to him if the patches are
correct.

--- linux-240-t10-clean/drivers/isdn/hisax/nj_s.c	Sat Nov  4 23:25:26 2000
+++ linux/drivers/isdn/hisax/nj_s.c	Mon Nov  6 23:52:00 2000
@@ -148,11 +148,10 @@
 		return(0);
 	test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags);
 
-	for ( ;; )
-	{
-
 #if CONFIG_PCI
 
+	for ( ;; )
+	{
 		if (!pci_present()) {
 			printk(KERN_ERR "Netjet: no PCI bus present\n");
 			return(0);
--- linux-240-t10-clean/drivers/isdn/hisax/nj_u.c	Sat Nov  4 23:25:26 2000
+++ linux/drivers/isdn/hisax/nj_u.c	Mon Nov  6 23:51:50 2000
@@ -150,11 +150,10 @@
 		return(0);
 	test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags);
 
-	for ( ;; )
-	{
-
 #if CONFIG_PCI
 
+	for ( ;; )
+	{
 		if (!pci_present()) {
 			printk(KERN_ERR "NETspider-U: no PCI bus present\n");
 			return(0);

-- 
Regards,
        Rasmus(rasmus@jaquet.dk)

You know how dumb the average guy is?  Well, by  definition, half
of them are even dumber than that.
            -- J.R. "Bob" Dobbs 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2000-11-06 22: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=20001107000338.E726@jaquet.dk \
    --to=rasmus@jaquet.dk \
    --cc=kkeil@suse.de \
    --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;
as well as URLs for NNTP newsgroup(s).