Received: by 10.213.65.68 with SMTP id h4csp1025782imn; Wed, 28 Mar 2018 18:36:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx49s2TjA0YRg1Ns9vT2+S6jZ4qpnOzh6CruLM/TwQ8KWmvL1u/Lvih4XJYIYXzQi18vHt5BU X-Received: by 10.98.102.79 with SMTP id a76mr4687920pfc.162.1522287407106; Wed, 28 Mar 2018 18:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522287407; cv=none; d=google.com; s=arc-20160816; b=NacUm0oMlq2KxoRVLc3jZwtvZWP+1ZcTXlgbiRWl/5r+TUXAH9o3uBv2NoiMn4Fvg8 y0wu5FCg6cNvnyFPhmuCfQRpbKddWyUPF0yeFvQRwBSZKVe5Hhrn7WGNCO1N7AnR4zqQ NNkHo14qhXLap1dMEPC2Rio3lT27cv2qY6WSrRC6fLOfsFsBwUYT8jntjcagiJcopYHo EkP2Ib6LsVEs5xYorcz2UywkG9LXjYy5madE/rLMDrZJTI3FHX0Kzla6uEUER5+DPyPd kpUyO7xtGfu8auN/tjUnHBMei1V0WKhyBTaRAaHO05IE9h4EGffXYLPkjUngdJfBgmbI n1ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=3Blmb2c4o1izogg1uVoWtHG1aj9URakh8xRSdb0/t7Q=; b=mFFiGqwNpIbCWIdMN/sq+fCuH1ZngxHMn41UQzFekFbMigtbi/Qik8yBQzCruf/WCK C0ATjuA8gk/+upcMGkSytUGAFz/rY7SsnqLMnDryKkaQXZCzwnOP/MgNqZLB9WU4b8SR IQBhGWau6a6rhGV8eepOSNJAq4dpTz1R4EzB9sGhn6xqz7lrGa/tPgLYirRNnNR+Bgu9 jKetrc4Lq7ST7BOzqdo86WmLgugVI4Q7RZzicJPiu/RJXDPHmLUOXpL4Z/4MPE8us5Pb 2kcUVjNYz+mWV77LBURwWocw/T6kh+JZ+Bap/mUjE5bpWTnxt8Rbva5nX5DJ0InD8U2K 3Bug== 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 o32-v6si565785pld.435.2018.03.28.18.36.23; Wed, 28 Mar 2018 18:36:47 -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 S1751908AbeC2Bf2 (ORCPT + 99 others); Wed, 28 Mar 2018 21:35:28 -0400 Received: from la.guarana.org ([173.254.219.205]:44664 "EHLO la.guarana.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751187AbeC2Bf1 (ORCPT ); Wed, 28 Mar 2018 21:35:27 -0400 Received: by la.guarana.org (Postfix, from userid 1006) id B16423460C44; Wed, 28 Mar 2018 21:35:26 -0400 (EDT) Date: Wed, 28 Mar 2018 21:35:26 -0400 From: Kevin Easton To: Steffen Klassert Cc: Herbert Xu , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] af_key: Use DIV_ROUND_UP() instead of open-coded equivalent Message-ID: <20180329013526.GA27752@la.guarana.org> References: <930c4e2a88e93c6863ddb97df9ebd0fa1b32149e.1522063171.git.kevin@guarana.org> <20180328055925.skrjbax24he3vcpk@gauss3.secunet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180328055925.skrjbax24he3vcpk@gauss3.secunet.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 28, 2018 at 07:59:25AM +0200, Steffen Klassert wrote: > On Mon, Mar 26, 2018 at 07:39:16AM -0400, Kevin Easton wrote: > > Several places use (x + 7) / 8 to convert from a number of bits to a number > > of bytes. Replace those with DIV_ROUND_UP(x, 8) instead, for consistency > > with other parts of the same file. > > > > Signed-off-by: Kevin Easton > > Is this a fix or just a cleanup? > If it is just a cleanup, please resent it based on ipsec-next. Hi Steffen, This patch (1/2) is just a cleanup, but it's in preparation for patch 2/2 which is a fix and modifies some of the same lines. - Kevin