From 411debaff720d95255e1387b860156eb4c329841 Mon Sep 17 00:00:00 2001 From: "Stephen M. Cameron" Date: Thu, 22 Mar 2012 21:40:09 +0100 Subject: [PATCH] --- yaml --- r: 299198 b: refs/heads/master c: bc67f63650fad6b3478d9ddfd5406d45a95987c9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/block/cciss_scsi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f86d55593df5..7421d4915232 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 395d287526bb60411ff37b19ad9dd38b58ba8732 +refs/heads/master: bc67f63650fad6b3478d9ddfd5406d45a95987c9 diff --git a/trunk/drivers/block/cciss_scsi.c b/trunk/drivers/block/cciss_scsi.c index f510a9c9a6fd..acda773b3720 100644 --- a/trunk/drivers/block/cciss_scsi.c +++ b/trunk/drivers/block/cciss_scsi.c @@ -1411,7 +1411,7 @@ static void cciss_scatter_gather(ctlr_info_t *h, CommandList_struct *c, /* track how many SG entries we are using */ if (request_nsgs > h->maxSG) h->maxSG = request_nsgs; - c->Header.SGTotal = (__u8) request_nsgs + chained; + c->Header.SGTotal = (u16) request_nsgs + chained; if (request_nsgs > h->max_cmd_sgentries) c->Header.SGList = h->max_cmd_sgentries; else