projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca8c100
)
[ARM] Fix Acorn platform SCSI driver build failures
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sun, 6 Aug 2006 19:55:33 +0000
(20:55 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 6 Aug 2006 19:55:33 +0000
(20:55 +0100)
SCSI folk forgot to fix up all the uses of 'buffer' before deleting
this struct member. Do it for them to rescue the resulting build
failures.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/scsi/arm/scsi.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/arm/scsi.h
b/drivers/scsi/arm/scsi.h
index 6dd544a5eb56a207f9918f33c1d20ce00e0cd7bd..8c2600ffc6afec68e270f224ea4ba17a4d3fb7b4 100644
(file)
--- a/
drivers/scsi/arm/scsi.h
+++ b/
drivers/scsi/arm/scsi.h
@@
-74,7
+74,7
@@
static inline void init_SCp(Scsi_Cmnd *SCpnt)
unsigned long len = 0;
int buf;
- SCpnt->SCp.buffer = (struct scatterlist *) SCpnt->buffer;
+ SCpnt->SCp.buffer = (struct scatterlist *) SCpnt->
request_
buffer;
SCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
SCpnt->SCp.ptr = (char *)
(page_address(SCpnt->SCp.buffer->page) +