mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
	Linus Torvalds <torvalds@osdl.org>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-ide@vger.kernel.org
Subject: Re: Linux 2.6.3-rc2
Date: Tue, 10 Feb 2004 17:17:14 +0100	[thread overview]
Message-ID: <200402101717.14934.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <200402101558.59344.bzolnier@elka.pw.edu.pl>


> It fails with `unterminated `#if' conditional'.

Please pass me brown paper bag...

[PATCH] fix build for CONFIG_BLK_DEV_IDEDMA=n

"fix duplication of DMA {black,white}list in icside.c" patch broke it.

Noticed by Geert Uytterhoeven <geert@linux-m68k.org>.

 linux-2.6.3-rc2-root/include/linux/ide.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN include/linux/ide.h~ide_release_dma_fix include/linux/ide.h
--- linux-2.6.3-rc2/include/linux/ide.h~ide_release_dma_fix	2004-02-10 16:30:48.085986376 +0100
+++ linux-2.6.3-rc2-root/include/linux/ide.h	2004-02-10 16:35:38.959766840 +0100
@@ -1626,6 +1626,7 @@ extern int __ide_dma_count(ide_drive_t *
 extern int __ide_dma_verbose(ide_drive_t *);
 extern int __ide_dma_lostirq(ide_drive_t *);
 extern int __ide_dma_timeout(ide_drive_t *);
+#endif /* CONFIG_BLK_DEV_IDEDMA_PCI */
 
 #ifdef CONFIG_BLK_DEV_IDE_TCQ
 extern int __ide_dma_queued_on(ide_drive_t *drive);
@@ -1634,13 +1635,12 @@ extern ide_startstop_t __ide_dma_queued_
 extern ide_startstop_t __ide_dma_queued_write(ide_drive_t *drive);
 extern ide_startstop_t __ide_dma_queued_start(ide_drive_t *drive);
 #endif
+#endif /* CONFIG_BLK_DEV_IDEDMA */
 
-#else
+#ifndef CONFIG_BLK_DEV_IDEDMA_PCI
 static inline void ide_release_dma(ide_hwif_t *drive) {;}
 #endif
 
-#endif /* CONFIG_BLK_DEV_IDEDMA */
-
 extern int ide_hwif_request_regions(ide_hwif_t *hwif);
 extern void ide_hwif_release_regions(ide_hwif_t* hwif);
 extern void ide_unregister (unsigned int index);

_


  parent reply	other threads:[~2004-02-10 16:12 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-10  3:17 Linus Torvalds
2004-02-10  3:53 ` Misshielle Wong
2004-02-10  7:16 ` Jeffrey E. Hundstad
2004-02-10 12:59 ` Geert Uytterhoeven
2004-02-10 14:58   ` Bartlomiej Zolnierkiewicz
2004-02-10 15:18     ` Geert Uytterhoeven
2004-02-10 16:17     ` Bartlomiej Zolnierkiewicz [this message]
2004-02-10 17:28       ` Geert Uytterhoeven
2004-02-10 13:31 ` dmapool (was: Re: Linux 2.6.3-rc2) Geert Uytterhoeven
2004-02-10 14:32   ` Geert Uytterhoeven
2004-02-10 14:41     ` Kernel Fault 2.4.20 Ananda Bhattacharya
2004-02-10 14:47       ` Arjan van de Ven
2004-02-10 14:47     ` dmapool (was: Re: Linux 2.6.3-rc2) Russell King
2004-02-10 14:57       ` Geert Uytterhoeven
2004-02-10 14:55     ` Christoph Hellwig
2004-02-10 16:23       ` Greg KH
2004-02-10 16:29         ` Geert Uytterhoeven
2004-02-10 18:14           ` David S. Miller
2004-02-12  9:52             ` Geert Uytterhoeven
2004-02-12 10:25               ` Gerd Knorr
2004-02-13 15:24                 ` Geert Uytterhoeven
2004-02-13 21:27         ` Roman Zippel
2004-02-10 17:00 ` Linux 2.6.3-rc2 (compile stats) John Cherry

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=200402101717.14934.bzolnier@elka.pw.edu.pl \
    --to=b.zolnierkiewicz@elka.pw.edu.pl \
    --cc=geert@linux-m68k.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®