From: Roland Dreier <roland@topspin.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: David Brownell <david-b@pacbell.net>,
Oliver Neukum <oliver@neukum.name>,
linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4 use __dma_buffer in scsi.h
Date: 12 Jun 2002 17:24:50 -0700 [thread overview]
Message-ID: <52sn3s2ffx.fsf@topspin.com> (raw)
Use __dma_buffer macro to align sense_buffer member of Scsi_Cmnd.
Patch is against 2.4.19-pre10.
Thanks,
Roland
scsi.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Naur linux-2.4.19-pre10.orig/drivers/scsi/scsi.h linux-2.4.19-pre10/drivers/scsi/scsi.h
--- linux-2.4.19-pre10.orig/drivers/scsi/scsi.h Wed Jun 12 15:08:52 2002
+++ linux-2.4.19-pre10/drivers/scsi/scsi.h Wed Jun 12 16:28:21 2002
@@ -30,6 +30,7 @@
#include <asm/hardirq.h>
#include <asm/scatterlist.h>
#include <asm/io.h>
+#include <asm/dma_buffer.h>
/*
* These are the values that the SCpnt->sc_data_direction and
@@ -779,7 +780,7 @@
struct request request; /* A copy of the command we are
working on */
- unsigned char sense_buffer[SCSI_SENSE_BUFFERSIZE]; /* obtained by REQUEST SENSE
+ unsigned char sense_buffer[SCSI_SENSE_BUFFERSIZE] __dma_buffer; /* obtained by REQUEST SENSE
* when CHECK CONDITION is
* received on original command
* (auto-sense) */
next reply other threads:[~2002-06-13 0:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-13 0:24 Roland Dreier [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-06-13 2:17 [PATCH] 2.4 use __dma_buffer in scsi.h James Bottomley
2002-06-13 17:42 ` Roland Dreier
2002-06-13 17:52 ` James Bottomley
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=52sn3s2ffx.fsf@topspin.com \
--to=roland@topspin.com \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=oliver@neukum.name \
/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