public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Ray Lehtiniemi <rayl@otii.com>
To: linux-mtd@lists.infradead.org
Subject: patch and two questions
Date: Sat, 2 Mar 2002 16:29:48 -0700	[thread overview]
Message-ID: <20020302162948.A14453@otii.com> (raw)

hi all

i'm using the latest MTD CVS against arm linux-2.4.18-rmk1.


first a patch that seems to be needed:


Index: include/linux/mtd/compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.33
diff -u -r1.33 compatmac.h
--- include/linux/mtd/compatmac.h	2002/03/02 22:08:26	1.33
+++ include/linux/mtd/compatmac.h	2002/03/02 23:21:26
@@ -489,7 +489,7 @@
 {
 	recalc_sigpending(current);
 }
-#define recalc_sigpending() __recalc_sigpending ()
+#define recalc_sigpending(c) __recalc_sigpending ()
 #endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,5)




now, two questions:

i get the following compile warnings all over the place:

  /opt/dev/linux/src/linux/include/linux/mtd/compatmac.h:492: warning:
           `recalc_sigpending' redefined
  /opt/dev/linux/src/linux/include/linux/modules/signal.ver:24: warning:
           this is the location of the previous definition

should i be worried?



second, if i have a flash device which i want to partition, is it better
to use add_mtd_partitions() or use the approach taken by
mtd/drivers/mtd/maps/nora.c?  just looking at the code, they seem to
accomplish the same thing, correct?



thanks

-- 
---------------------------------------------------------------------------
    Ray Lehtiniemi <rayl@mail.com> <rayl@otii.com>

             reply	other threads:[~2002-03-02 23:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-02 23:29 Ray Lehtiniemi [this message]
2002-03-03  9:51 ` patch and two questions David Woodhouse
2002-03-03  9:52 ` David Woodhouse

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=20020302162948.A14453@otii.com \
    --to=rayl@otii.com \
    --cc=linux-mtd@lists.infradead.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