Re: Small patch for sbpcd on 2.1.37-pre4 (and small question)

emoenke (emoenke@gwdg.de)
Mon, 5 May 1997 01:28:15 +0200 (MET DST)


Hi,

Carlo E. Prelz wrote:
>
>Hi. My gcc (2.7.2.1) refused to compile drivers/cdrom/sbpcd.c, complaining
>that it did not appreciate pre-processor commands in the middle of macros.
>The following patch solved the problem:
>
>--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--
>
>--- sbpcd.c~ Sun May 4 19:18:26 1997
>+++ sbpcd.c Sun May 4 19:38:28 1997
>@@ -5285,11 +5285,11 @@
> * bytes above).
> *
> */
>-__initfunc(
> #if (SBPCD_ISSUE-1)
>-static
>+__initfunc(static void sbpcd_setup(const char *s, int *p))
>+#else
>+__initfunc(void sbpcd_setup(const char *s, int *p))
> #endif
>-void sbpcd_setup(const char *s, int *p))
> {
> setup_done++;
> msg(DBG_INI,"sbpcd_setup called with %04X,%s\n",p[1], s);
>
>--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

Yes, this patch does it.

>_isofs_bmap: block>= EOF(2,4096)

>Can I sleep at nights?

Yes. ;-)

Cheers -e

-- 
Eberhard Moenkeberg                         GGG   W   W  DDDD    GGG
                                           G      W   W  D   D  G
E-Mail:   emoenke@gwdg.de                  G GGG  W   W  D   D  G GGG
Phone: +49 551 2011551  Fax: +49 551 21119 G   G  W W W  D   D  G   G
SnailMail:                                  GGG   WW WW  DDDD    GGG
Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH
Am Fassberg, D-37077 Goettingen, GERMANY
At home: Modem +49-551-7704102, ISDN-IP (192.168.99.1) 7704103