Commit 574dc0ab authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Fix Acorn platform SCSI driver build failures

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent ca8c100a
...@@ -74,7 +74,7 @@ static inline void init_SCp(Scsi_Cmnd *SCpnt) ...@@ -74,7 +74,7 @@ static inline void init_SCp(Scsi_Cmnd *SCpnt)
unsigned long len = 0; unsigned long len = 0;
int buf; 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.buffers_residual = SCpnt->use_sg - 1;
SCpnt->SCp.ptr = (char *) SCpnt->SCp.ptr = (char *)
(page_address(SCpnt->SCp.buffer->page) + (page_address(SCpnt->SCp.buffer->page) +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment