lkml.org 
[lkml]   [2002]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Compile Error with Compaq CCISS
On Sat, Mar 23 2002, Jon wrote:
> Anyone else seen this? I am using 2.5.7 no prepatch
>
> .c
> cciss.c: In function `cciss_ioctl':
> cciss.c:645: warning: implicit declaration of function `DECLARE_COMPLETION'
> cciss.c:645: `wait' undeclared (first use in this function)
> cciss.c:645: (Each undeclared identifier is reported only once
> cciss.c:645: for each function it appears in.)
> cciss.c:720: warning: implicit declaration of function `wait_for_completion'
> cciss.c: In function `sendcmd_withirq':
> cciss.c:932: `wait' undeclared (first use in this function)
> cciss.c: In function `do_cciss_intr':
> cciss.c:1958: warning: implicit declaration of function `complete'
> make[3]: *** [cciss.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.5.7/drivers/block'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.5.7/drivers/block'
> make[1]: *** [_subdir_block] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.7/drivers'
> make: *** [_dir_drivers] Error 2
> cumin:/usr/src/linux-2.5.7 #

--- drivers/block/cciss.c~ Mon Mar 25 08:12:41 2002
+++ drivers/block/cciss.c Mon Mar 25 08:12:33 2002
@@ -36,6 +36,7 @@
#include <linux/init.h>
#include <linux/hdreg.h>
#include <linux/spinlock.h>
+#include <linux/completion.h>
#include <asm/uaccess.h>
#include <asm/io.h>

--
Jens Axboe
-
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-03-22 13:25    [W:0.077 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site