lkml.org 
[lkml]   [1997]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Small patch for sbpcd on 2.1.37-pre4 (and small question)
Date
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

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.049 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site