Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2745689imm; Wed, 3 Oct 2018 08:33:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV61gM2SMi5Tn+NgSNiis3I4hmSvcwoBLP0I/AcmaZgznYU8RtpsU3mbaJKUGQQtS3FjJPBIZ X-Received: by 2002:a17:902:9045:: with SMTP id w5-v6mr2267448plz.10.1538580783953; Wed, 03 Oct 2018 08:33:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538580783; cv=none; d=google.com; s=arc-20160816; b=Z3tNC4+68B2QpCcOph8lhmxQWns17zut57Df7+8x/ItDtAoMLTLZmCy60MCLwcgbEH 2nDNJlCxG/VvG4JYOwVUBzW/S0XpuCHNoL6/OpuXJhTXHR9QEckiRd1u/GYRaQSv4B3i X/HMv7h2HBDndgRXAWCXjbZFyH3eIme6n6R4GkR46Qdy50BGAoK4YDK90cOqrTmQsLyK C75OyA6QjUkFuiNI8QqnXy3xZz9eqOB435Pru5aybjmE01AGMlBJNV8uGEWpIT10nNgm XWKnukPN07JkRafKpunqlwqei20jw/UZUYpLM8pamJTzXqBm6qfWmiPGeAIGlakAPjCo modw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=Bf4Isbe0S9sn/7/INd2S2M90upmaer01n6Jsa9bLQZQ=; b=XO2ljOlQojvSk45WYnmg8MaUKSi1BQ7XB1Ih5gGUhaP3wfCZn7gz9/wOeete6A8L5Z 9q1RcyB/5jYFVmTvcf/S7H/KtLzsjg7K2jlBxe8Iqe38QDgOYPENNQC8UnRzudCJn2Sw pbVEIfGf/AfmC2EDY8qR6Oa4t2NJRVNmNN038U9wtuBkRMGnttjHIsbhVfv/9GZuXxxS cKr6eEPbLhjs439QiVrNsc7xqDjbv2iBzNK5TomJ/xbQLpobvg43SnlmC0drAa/JxPtV iSaCtKZih1EXWiv2ozCpPdBT03ay0TqDTKDUBJ2fn48DSHqDeErK/0Jkv/wt/vMsPbPj suyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a135-v6si2189437pfd.241.2018.10.03.08.32.42; Wed, 03 Oct 2018 08:33:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727268AbeJCWVH (ORCPT + 99 others); Wed, 3 Oct 2018 18:21:07 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39488 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726811AbeJCWVG (ORCPT ); Wed, 3 Oct 2018 18:21:06 -0400 Received: by mail-pg1-f195.google.com with SMTP id r9-v6so1738447pgv.6 for ; Wed, 03 Oct 2018 08:32:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bf4Isbe0S9sn/7/INd2S2M90upmaer01n6Jsa9bLQZQ=; b=RMRLawBSxwxfFhbQ77/iZXr+8O5dnZaVPJDqMe24W4t1aJNB8n5BlflmqLQO3nPHNr rd6T/LlQ/7Dp1L9icXq+1r3XFSm1I7l9NUjdxQVHXKx8YmtjrOjY9y70pE84CP+Hszec CTZ9mASqISDh0dsnBBG01NLPRrvWACnVB38IuDrgoFu743ARUc4HDMfcoOXmpMp8+/a6 P3sh87yZc/mrM7IWoJCdbhWFREDMwoqFEPH7slVaTd4F4dHmQONYyfATe2LZjGQWBG4I eul60wN53X0/lDv/hE4UrXJehFhCPRJp2HImsgDOUcN5yF4uUtHK5xqGaOmlGKO7t+tc r3rQ== X-Gm-Message-State: ABuFfoi7UZmXtzFIfG+LuZL1/uTj7UYN7NM0y8YkVmfS4DKbNIMqRuk7 0COOre7M01nhf2wEtPurTrM= X-Received: by 2002:a63:f711:: with SMTP id x17-v6mr1864428pgh.322.1538580733579; Wed, 03 Oct 2018 08:32:13 -0700 (PDT) Received: from ?IPv6:2620:15c:2cd:203:5cdc:422c:7b28:ebb5? ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id w2-v6sm2899407pfk.140.2018.10.03.08.32.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Oct 2018 08:32:12 -0700 (PDT) Message-ID: <1538580731.205649.11.camel@acm.org> Subject: Re: [PATCH 5/6] lib/scatterlist: Use appropriate type for elem_len in sgl_alloc_order From: Bart Van Assche To: Tvrtko Ursulin , linux-kernel@vger.kernel.org Cc: tvrtko.ursulin@linux.intel.com, Tvrtko Ursulin , Bart Van Assche , Hannes Reinecke , Johannes Thumshirn , Jens Axboe Date: Wed, 03 Oct 2018 08:32:11 -0700 In-Reply-To: <20180926141625.17727-6-tvrtko.ursulin@linux.intel.com> References: <20180926141625.17727-1-tvrtko.ursulin@linux.intel.com> <20180926141625.17727-6-tvrtko.ursulin@linux.intel.com> Content-Type: text/plain; charset="UTF-7" X-Mailer: Evolution 3.26.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-09-26 at 15:16 +-0100, Tvrtko Ursulin wrote: +AD4 From: Tvrtko Ursulin +ADw-tvrtko.ursulin+AEA-intel.com+AD4 +AD4 +AD4 We should not use an explicit width u32 for elem+AF8-len but unsinged int to +AD4 match the underlying type in struct scatterlist. Reviewed-by: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4