diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-26 13:04:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-26 13:04:23 -0700 |
commit | f834c755423332a6ff4397fae754029a6a7a8249 (patch) | |
tree | 004266b9612a69484a5dc0dc3d6db0d1e5ab60d5 /arch | |
parent | 62250b3bb596ffbae17c4b3d865fecd6329ce8b3 (diff) | |
parent | 0db99e3359234be181590463184b9959059a9ea9 (diff) |
Merge gregkh@master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/hp/sim/simscsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/hp/sim/simscsi.c b/arch/ia64/hp/sim/simscsi.c index 8a4f0d0d17a..8f0a16a79a6 100644 --- a/arch/ia64/hp/sim/simscsi.c +++ b/arch/ia64/hp/sim/simscsi.c @@ -244,7 +244,8 @@ static void simscsi_fillresult(struct scsi_cmnd *sc, char *buf, unsigned len) if (scatterlen == 0) memcpy(sc->request_buffer, buf, len); - else for (slp = (struct scatterlist *)sc->request_buffer; scatterlen-- > 0 && len > 0; slp++) { + else for (slp = (struct scatterlist *)sc->request_buffer; + scatterlen-- > 0 && len > 0; slp++) { unsigned thislen = min(len, slp->length); memcpy(page_address(slp->page) + slp->offset, buf, thislen); |