Resent-Date: Mon, 16 Aug 1999 22:33:54 +0200 (MET DST)
Sender: bharries@germany.net
Date: Mon, 16 Aug 1999 20:51:36 +0200
From: Bernd Harries <bha@gmx.de>
Organization: BHA Industries
To: Linux/m68k <linux-m68k@lists.linux-m68k.org>
Subject: Re: partition table update and some misc patches
References: <Pine.GSO.3.96.990816103710.8667A-100000@zeus> <37B7F3BB.446B@gmx.de>
Resent-From: linux-m68k@phil.uni-sb.de

Hi!

I saw some errors and warnings after Roman's patch. 



m68k-linux-gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer  -pipe -fno-strength-reduce
-ffixed-a2 -m68040   -DEXPORT_SYMTAB -c genhd.c
genhd.c:258: warning: missing braces around initializer for
`(anonymous).m'
genhd.c:262: warning: missing braces around initializer for
`(anonymous).m'
genhd.c:270: warning: missing braces around initializer for
`(anonymous).m'
genhd.c:458: parse error before `void'
genhd.c:472: parse error before `for'
genhd.c:474: conflicting types for `partition_parsers'
genhd.c:54: previous declaration of `partition_parsers'
genhd.c:474: warning: initialization makes integer from pointer without
a cast

...

According to init.h and without having understood it I tried the 
modification seen below and only the 3 warnings remain. The kernel
has just compiled complete. 


dose1:/usr/src/linux/>diff -u drivers/block/genhd.c.bck
drivers/block/genhd.c
--- drivers/block/genhd.c.bck   Mon Aug 16 20:18:10 1999
+++ drivers/block/genhd.c       Mon Aug 16 20:18:10 1999
@@ -455,7 +455,7 @@
 }
 #endif
 
-static __init void partbl_init(void)
+static void __init partbl_init(void)
 {
        extern int osf_partbl_init(void);
        extern int sun_partbl_init(void);
dose1:/usr/src/linux/>

-- 
Bernd Harries

bha@gmx.de           http://www.freeyellow.com/members/bharries
bha@nikocity.de       Tel. +49 421 809 7343 priv.  | MSB First!
harries@stn-atlas.de       +49 421 457 3966 offi.  | Linux-m68k
bernd@linux-m68k.org      8.48'21" E  52.48'52" N  | Medusa T40

