lkml.org 
[lkml]   [2002]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject2.5.3pre4 compile error - DAC960.c
From
Date
gcc -D__KERNEL__ -I/home/martin/kernel-a-day-club/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -DEXPORT_SYMTAB -c DAC960.c
In file included from DAC960.c:49:
DAC960.h: In function `DAC960_AcquireControllerLock':
DAC960.h:2511: warning: passing arg 1 of `spin_lock' from incompatible
pointer type
DAC960.h: In function `DAC960_ReleaseControllerLock':
DAC960.h:2523: warning: passing arg 1 of `spin_unlock' from incompatible
pointer type
DAC960.h: In function `DAC960_AcquireControllerLockIH':
DAC960.h:2560: warning: passing arg 1 of `spin_lock' from incompatible
pointer type
DAC960.h: In function `DAC960_ReleaseControllerLockIH':
DAC960.h:2573: warning: passing arg 1 of `spin_unlock' from incompatible
pointer type
DAC960.c: In function `DAC960_WaitForCommand':
DAC960.c:309: warning: passing arg 1 of `spin_unlock' from incompatible
pointer type
DAC960.c:311: warning: passing arg 1 of `spin_lock' from incompatible
pointer type
DAC960.c: In function `DAC960_RegisterBlockDevice':
DAC960.c:1948: too few arguments to function `blk_init_queue'
DAC960.c:1961: structure has no member named `MaxSectorsPerRequest'
DAC960.c: In function `DAC960_RegisterDisk':
DAC960.c:2076: incompatible type for argument 2 of `register_disk'
DAC960.c:2088: incompatible type for argument 2 of `register_disk'
DAC960.c: In function `DAC960_V1_QueueReadWriteCommand':
DAC960.c:2745: warning: implicit declaration of function `bio_size'
DAC960.c: In function `DAC960_ProcessCompletedBuffer':
DAC960.c:2948: too few arguments to function
DAC960.c: In function `DAC960_Open':
DAC960.c:5302: invalid operands to binary &
DAC960.c: In function `DAC960_UserIOCTL':
DAC960.c:5539: warning: passing arg 1 of `spin_unlock' from incompatible
pointer type
DAC960.c:5543: warning: passing arg 1 of `spin_lock' from incompatible
pointer type
make[3]: *** [DAC960.o] Error 1

--
Martin A. Brooks Systems Administrator
Jtrix Ltd t: +44 7395 4990
57-59 Neal Street f: +44 7395 4991
London, WC2H 9PP e: martin@jtrix.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.458 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site