ChangeSet 1.2231.1.114, 2005/03/28 19:48:13-08:00, [EMAIL PROTECTED]

        [PATCH] s390: swapped memset arguments.
        
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 zfcp_aux.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c
--- a/drivers/s390/scsi/zfcp_aux.c      2005-03-28 21:31:34 -08:00
+++ b/drivers/s390/scsi/zfcp_aux.c      2005-03-28 21:31:34 -08:00
@@ -583,7 +583,7 @@
                retval = -ENOMEM;
                goto out;
        }
-       memset(sg_list->sg, sg_list->count * sizeof(struct scatterlist), 0);
+       memset(sg_list->sg, 0, sg_list->count * sizeof(struct scatterlist));
 
        for (i = 0, sg = sg_list->sg; i < sg_list->count; i++, sg++) {
                sg->length = min(size, PAGE_SIZE);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to