public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nathaniel <wfilardo@fuse.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH][TRIVIAL] 2.5.30 - Build error in fs/partition/check.c
Date: Thu, 01 Aug 2002 20:09:17 -0400	[thread overview]
Message-ID: <3D49CDAD.6080503@fuse.net> (raw)

   gcc -Wp,-MD,./.check.o.d -D__KERNEL__ -I/home/nwf/src/kernel/linux-2.5.30/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 
-nostdinc -iwithprefix include    -DKBUILD_BASENAME=check -DEXPORT_SYMTAB  -c -o check.o check.c
check.c: In function `devfs_register_partitions':
check.c:470: array subscript is not an integer
make[2]: *** [check.o] Error 1
make[2]: Leaving directory `/home/nwf/src/kernel/linux-2.5.30/fs/partitions'
make[1]: *** [partitions] Error 2
make[1]: Leaving directory `/home/nwf/src/kernel/linux-2.5.30/fs'
make: *** [fs] Error 2

--- linux-2.5.30/fs/partitions/check.c.orig-nwf Thu Aug  1 20:03:25 2002
+++ linux-2.5.30/fs/partitions/check.c  Thu Aug  1 20:07:13 2002
@@ -467,7 +467,7 @@
         for (part = 1; part < max_p; part++) {
                 if ( unregister || (p[part].nr_sects < 1) ) {
                         devfs_unregister(p[part].de);
-                       dev->part[p].de = NULL;
+                       p[part].de = NULL;
                         continue;
                 }
                 devfs_register_partition (dev, minor, part);

That look right?
--Nathan



                 reply	other threads:[~2002-08-02  0:05 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=3D49CDAD.6080503@fuse.net \
    --to=wfilardo@fuse.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