linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
To: andre@suse.com (Andre M. Hedrick)
Cc: alan@lxorguk.ukuu.org.uk (Alan Cox), linux-kernel@vger.kernel.org
Subject: [PATCH] ide patch problem
Date: Thu, 4 Jan 2001 13:19:10 +0100 (CET)	[thread overview]
Message-ID: <200101041219.NAA03487@green.mif.pg.gda.pl> (raw)

Hi,
   Your ide.2.2.18.1221.patch does not compile on alpha:

cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
-mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED   -c -o ide-geometry.o ide-geometry.c
In file included from ide-geometry.c:5:
/usr/src/linux/include/linux/mc146818rtc.h:29: parse error before `rtc_lock'
/usr/src/linux/include/linux/mc146818rtc.h:29: warning: type defaults to
`int' in declaration of `rtc_lock'
/usr/src/linux/include/linux/mc146818rtc.h:29: warning: data definition has
no type or storage class
make[3]: *** [ide-geometry.o] Error 1
make[3]: Leaving directory /usr/src/linux/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory /usr/src/linux/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory /usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

The following patch fixes the problem, but I'm not sure whether it is
correct :

--- drivers/block/ide-geometry.c.old	Thu Jan  4 12:51:29 2001
+++ drivers/block/ide-geometry.c	Thu Jan  4 13:18:02 2001
@@ -2,6 +2,7 @@
  * linux/drivers/ide/ide-geometry.c
  */
 #include <linux/config.h>
+#include <linux/mm.h>
 #include <linux/mc146818rtc.h>
 #include <linux/ide.h>
 #include <asm/io.h>

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk
-
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:[~2001-01-04 12:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-04 12:19 Andrzej Krzysztofowicz [this message]
2001-01-04 19:19 ` [PATCH] ide patch problem Andre Hedrick

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=200101041219.NAA03487@green.mif.pg.gda.pl \
    --to=ankry@green.mif.pg.gda.pl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=andre@suse.com \
    --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).