lkml.org 
[lkml]   [2005]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch 139/198] hd: eliminate bad section references
From
Date

From: maximilian attems <janitor@sternwelten.at>

Fix hd section references:
make parse_hd_setup() __init

Error: ./drivers/ide/legacy/hd.o .text refers to 00000943 R_386_PC32
.init.text

Signed-off-by: maximilian attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

25-akpm/drivers/ide/legacy/hd.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/ide/legacy/hd.c~hd-eliminate-bad-section-references drivers/ide/legacy/hd.c
--- 25/drivers/ide/legacy/hd.c~hd-eliminate-bad-section-references 2005-04-12 03:21:36.912525344 -0700
+++ 25-akpm/drivers/ide/legacy/hd.c 2005-04-12 03:21:36.916524736 -0700
@@ -851,7 +851,7 @@ Enomem:
goto out;
}

-static int parse_hd_setup (char *line) {
+static int __init parse_hd_setup (char *line) {
int ints[6];

(void) get_options(line, ARRAY_SIZE(ints), ints);
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-04-12 13:22    [W:0.030 / U:1.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site