Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2740746imm; Wed, 3 Oct 2018 08:28:49 -0700 (PDT) X-Google-Smtp-Source: ACcGV60pNFu2ILOfIVE5EDV1s4BPeqxJ/CgwHXESac8ZsR1WGxr5elylYJTbP72LN57pbRjMcr3z X-Received: by 2002:a65:594b:: with SMTP id g11-v6mr1833225pgu.260.1538580529664; Wed, 03 Oct 2018 08:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538580529; cv=none; d=google.com; s=arc-20160816; b=uQnZHpAAC8Qeq44emJVsCNd1lkT81jXMQzrpSWiWPbVgRjsy9MN5JYOjasKRj9OdXL JOT3YRGhzgWzyjW820s97cCDBzcmtMtZ0pgwwKagjCZG+UR+1d4epEeZwI8HBXzkwfO1 SZwI/Y+xgYQZ9HN/JWQn4qxf0dhcGDk3Oq30dOk3oYFpWqlHrJ0aNIvcwdCIWIGZHnud 4X4Lig54ypN95OaL8BZeIR1vwQE0rv5CqwmhTbPHL4oAzicH3A3q0HdmaGqNbsAe6v61 px8mylvc3eQ5+i3grEGqQfZhavUr2KQvLoONLhSJtldYLfwJZrofK3v0jZXJj/+AGL2y vb7Q== 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=9Mok85nzSbErJqtfR5DMucijQ06b1EKccbA5oFfY7fk=; b=adhvqqyS0LpSA0mVwMgsChErC/g4s1NJrc9Lt9Nv7jhph+yWT9P5xOyxQHb9rglUy9 Sye9IVO0jDmkPpw+8Z7kwL5p1RdyYodgwMcY05zAavYFw8IrUQ/Qq+OzOzEnaf3lD0TD Mpi/6E8952XPohBHRVddYrj6fUeu97Jy3IC+0suIvs1SGzYMxWasumeEJAAUYf6pcenS /xV8Bbz0Jak/iq0TccLHY8cwXJ/r1JzkFBIkXBaMPdjt1xd22Eprpa7z92nO6oiq9nMM 7YgGMjpHmYG5gH4L8oQk1DEDQeZ4sBp6oK1dPcu7wCqAk3q3lhBUwW3AI8vo0jHTrxqS baug== 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 f62-v6si1939618pfb.218.2018.10.03.08.28.35; Wed, 03 Oct 2018 08:28:49 -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 S1727336AbeJCWPo (ORCPT + 99 others); Wed, 3 Oct 2018 18:15:44 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:45534 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726748AbeJCWPo (ORCPT ); Wed, 3 Oct 2018 18:15:44 -0400 Received: by mail-pg1-f194.google.com with SMTP id t70-v6so1708623pgd.12 for ; Wed, 03 Oct 2018 08:26:52 -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=9Mok85nzSbErJqtfR5DMucijQ06b1EKccbA5oFfY7fk=; b=Q9YO+KYosGL82MXCvRZx85x6QymUKSzXYN/FjXnSynS/PdLzyvaAARGGv4gP2vLUSQ LoKYbLDMoWTOr2ANtR7Clmd99G5bYQrsKC1pBHt3nx8rMrtWxYcp6MJLzCxweq8BeRuq n0cUQzjgmHb1+tAMWnyZDo3E7TumEV8okIH/zOKTpI86TpY87+1bKl+on+FxtiJ50WTm MSnwZGNIWYNplbIyAXvKpiTSpRDIFjUSgt3oPl6sn1Tl0iOCEneCeq2OBhvdVADTYZqo rnNVwTwgXmtW8cdGmnMdat1ldQNBb4wPgjpwtfKdBxO8v8ySPOQePBhpWe+GqPw03OHK gEPA== X-Gm-Message-State: ABuFfog+pZuj1KOr9y6wCILNfBdMlLEHw24PbGiXOrMF7GXLA4E5WysH MCvkIHr9LtLCQK2sBa2UBn8cL0FlhPc7jQ== X-Received: by 2002:a65:614a:: with SMTP id o10-v6mr1832570pgv.387.1538580412193; Wed, 03 Oct 2018 08:26:52 -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 23-v6sm4599345pfy.156.2018.10.03.08.26.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Oct 2018 08:26:51 -0700 (PDT) Message-ID: <1538580410.205649.4.camel@acm.org> Subject: Re: [PATCH 1/6] lib/scatterlist: Use natural long for sgl_alloc(_order) length parameter 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:26:50 -0700 In-Reply-To: <20180926141625.17727-2-tvrtko.ursulin@linux.intel.com> References: <20180926141625.17727-1-tvrtko.ursulin@linux.intel.com> <20180926141625.17727-2-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 None of the callers need unsinged long long (they either pass in an int, +AF4AXgBeAF4AXgBeAF4AXg unsigned? +AD4 u32, or size+AF8-t) so it is not required to burden the 32-bit builds with an +AD4 overspecified length parameter. Otherwise, Reviewed-by: Bart Van Assche +ADw-bvanassche+AEA-acm.org+AD4