From: Rasmus Andersen <rasmus@jaquet.dk>
To: dwmw2@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] link time error in drivers/mtd (240t13p2)
Date: Sat, 16 Dec 2000 23:07:01 +0100 [thread overview]
Message-ID: <20001216230701.E609@jaquet.dk> (raw)
Hi.
Various files in drivers/mtd references cfi_probe (by way of do_cfi_probe).
This function is static and thus not shared. The following patch removes
the static declaration but if it is What Was Intended I do not know. It
makes the kernel link, however.
--- linux-240-t13-pre2-clean/drivers/mtd/cfi_probe.c Wed Nov 22 22:41:39 2000
+++ linux/drivers/mtd/cfi_probe.c Sat Dec 16 22:58:57 2000
@@ -17,7 +17,7 @@
#include <linux/mtd/cfi.h>
-static struct mtd_info *cfi_probe(struct map_info *);
+struct mtd_info *cfi_probe(struct map_info *);
static void print_cfi_ident(struct cfi_ident *);
static void check_cmd_set(struct map_info *, int, unsigned long);
@@ -32,7 +32,7 @@
* this module is non-zero, i.e. between inter_module_get and
* inter_module_put. Keith Owens <kaos@ocs.com.au> 29 Oct 2000.
*/
-static struct mtd_info *cfi_probe(struct map_info *map)
+struct mtd_info *cfi_probe(struct map_info *map)
{
struct mtd_info *mtd = NULL;
struct cfi_private *cfi;
--
Rasmus(rasmus@jaquet.dk)
The Holocaust was an obscene period in our nation's history. I mean
in this century's history. But we all lived in this century. I didn't
live in this century.
-- Senator Dan Quayle, 9/15/88
(reported in Esquire, 8/92, The New Yorker, 10/10/88, p.102)
-
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/
next reply other threads:[~2000-12-16 22:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-16 22:07 Rasmus Andersen [this message]
2000-12-16 23:15 ` [PATCH] link time error in drivers/mtd (240t13p2) Keith Owens
2000-12-17 10:01 ` David Woodhouse
2000-12-17 10:32 ` Keith Owens
2000-12-17 10:44 ` David Woodhouse
2000-12-17 10:51 ` Keith Owens
2000-12-17 11:39 ` David Woodhouse
2000-12-17 11:54 ` Keith Owens
2000-12-17 12:04 ` David Woodhouse
2000-12-17 15:20 ` Alan Cox
2000-12-17 16:32 ` Horst von Brand
2000-12-18 7:47 ` Peter Samuelson
2000-12-17 10:27 ` 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=20001216230701.E609@jaquet.dk \
--to=rasmus@jaquet.dk \
--cc=dwmw2@redhat.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).