[PATCH] add missing include for cpqfcTSinit.c

Geoffrey Lee (glee@gnupilgrims.org)
Tue, 11 Feb 2003 17:39:46 +0800


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-22199-1044957081-0001-2
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi all,

This patch adds a missing include for the cpqfcTSinit.c file, which will
then allow compilation. Problem was detected on an alpha.

It compiles but it is not known whether it works as I have no hardware
to test with.

patch is against Marcelo 2.4.21-pre4, status for 2.5 is unknown.

-- G.

-- 
char p[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b"
  "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd"
  "\x80\xe8\xdc\xff\xff\xff/bin/sh";

--=_courier-22199-1044957081-0001-2 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cpqfcTSinit.c.patch"

--- linux-2.4.20/drivers/scsi/cpqfcTSinit.c.orig 2003-02-07 17:08:49.000000000 +0100 +++ linux-2.4.20/drivers/scsi/cpqfcTSinit.c 2003-02-08 10:09:51.000000000 +0100 @@ -41,6 +41,7 @@ #include <linux/slab.h> #include <linux/vmalloc.h> // ioremap() #include <linux/completion.h> +#include <linux/init.h> #ifdef __alpha__ #define __KERNEL_SYSCALLS__ #endif

--=_courier-22199-1044957081-0001-2--