From: Andrew Morton <akpm@osdl.org>
To: erich <erich@areca.com.tw>
Cc: e0815w@onlinehome.de, linux-scsi@vger.kernel.org,
James.Bottomley@SteelEye.com, hch@infradead.org,
arjan@infradead.org
Subject: Re: About ARECA RAID driver for Linux i386/x86-64
Date: Fri, 11 Mar 2005 14:27:30 -0800 [thread overview]
Message-ID: <20050311142730.10d3c616.akpm@osdl.org> (raw)
In-Reply-To: <000c01c52626$32bae8d0$9300a8c0@erich2003>
"erich" <erich@areca.com.tw> wrote:
>
> Thanks for your kindness comment.
> I had modify "arcmsr" as your mention and ran it at 2.6.11 kernel.
A few points on this patch:
a) Please don't use full pathnames in the patch headers:
--- /usr/src/linux-2.6.11/drivers/scsi/Makefile.org 2005-03-11 10:20:49.000000000 +0800
+++ /usr/src/linux-2.6.11/drivers/scsi/Makefile 2005-03-11 11:32:07.000000000 +0800
Because not everyone places their kernel tree in /usr/src/linux-2.6.11.
See http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt
b) Please trim off all trailing whitespace. Here's a script which you
run against a patch to prevent it from introducing new trailing
whitespace. (I swear that this script has shrunk the kernel tree by a
megabyte over the past few years)
#!/bin/sh
strip1()
{
TMP=$(mktemp /tmp/XXXXXX)
cp $1 $TMP
sed -e '/^+/s/[ ]*$//' < $TMP > $1
rm $TMP
}
for i in $*
do
strip1 $i
done
c) You cannot use absolute pathnames for include files. Here's a fix:
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
25-akpm/drivers/scsi/arcmsr/arcmsr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/scsi/arcmsr/arcmsr.c~areca-raid-linux-scsi-driver-fix drivers/scsi/arcmsr/arcmsr.c
--- 25/drivers/scsi/arcmsr/arcmsr.c~areca-raid-linux-scsi-driver-fix Fri Mar 11 14:22:23 2005
+++ 25-akpm/drivers/scsi/arcmsr/arcmsr.c Fri Mar 11 14:22:23 2005
@@ -107,8 +107,8 @@
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/spinlock.h>
-#include "/usr/src/linux/drivers/scsi/scsi.h"
-#include "/usr/src/linux/include/scsi/scsi_host.h"
+#include "../scsi.h"
+#include <scsi/scsi_host.h>
#include "arcmsr.h"
#endif
_
next parent reply other threads:[~2005-03-11 22:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <000001c524bc$d3c546a0$0b02a8c0@kw.de>
[not found] ` <000c01c52626$32bae8d0$9300a8c0@erich2003>
2005-03-11 22:27 ` Andrew Morton [this message]
2005-03-11 22:31 ` About ARECA RAID driver for Linux i386/x86-64 Andrew Morton
2005-03-12 0:20 ` Andrew Morton
[not found] <000801c514c7$04ec0030$9300a8c0@erich2003>
2005-02-18 16:10 ` Linux Christoph Hellwig
2005-02-18 19:21 ` Andrew Morton
2005-02-03 4:33 erich
2005-02-03 4:51 ` Andrew Morton
2005-02-04 4:10 ` James Bottomley
2005-02-06 14:50 ` Christoph Hellwig
[not found] <001001c508d9$d97a17f0$9300a8c0@erich2003>
2005-02-03 2:08 ` Andrew Morton
2005-02-03 10:05 ` Arjan van de Ven
2005-02-06 14:51 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050311142730.10d3c616.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=James.Bottomley@SteelEye.com \
--cc=arjan@infradead.org \
--cc=e0815w@onlinehome.de \
--cc=erich@areca.com.tw \
--cc=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox