Received: by 10.213.65.68 with SMTP id h4csp2438921imn; Mon, 9 Apr 2018 03:38:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx49miIV2k0g7a+EQvc5OiuxGsgGXgVBtZhDw+dO5vP8a17pKe/i/AWHqkmLFyw8uaur+nLgn X-Received: by 2002:a17:902:6b45:: with SMTP id g5-v6mr37308576plt.171.1523270316047; Mon, 09 Apr 2018 03:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523270316; cv=none; d=google.com; s=arc-20160816; b=AUWfsRIhlvpNhA4ZZ6Giw6RYPi75g7BHAWF3e4+9NdsadrvuRHELwtU/7XVKTfZi9u JUl4T5krCSKx5kCDppMma17dJXS3plyA6q1mvPUBHyHsS3qzXzmtUCZE2czzDBG3JX6g iYTJR4841sdZvBn9/TKxPbPag2zyQYyi8qSznc5z62E2IpEPUDX8ez7UN9bCMH67WkdR dOa06sjFQZ0nnM/NNDh8Rza6/melACLPMjxtOF/aeRkGC2T2Wu1v/+z8A6a9NEaRpBIT zvAuoEQzg6Xqdl7DjMKQLUXk0SXwYsChV4+8oHbY1Wwt9wc7R6okDZC7oen7fHq6aXxR 48XA== 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=trzqJ1UZzI2a1rQUzzwKLHJPCl2L3sRW9GhvZyBzBEg=; b=ukTbFi0viplss9bsDxsznqLrTQBd8BdlkkGlLM2+wcmVeU4uwK35acA/DyWG5es7Et inEfiL7rxSUpt+ag/KNzOLmK3eXR1SxPO93liKEiDFWXXJt/vkZk23Z/BPvmiMyxSF+d tSaHKvJa6f2G8T3GjdT67UY2jB1TqA35dtXUNRgJOdBmYDF8BbqmVY+EjAY1JllEJ0RY gPDq/y/q2vD+mcSA6bOn17BlNc0QLu9vbVzIoyICtY/n8s3D1FOLbuSLKL2i4shE+eYR O1m/BUTAeF2W6WxBImSf/57c+VnZQW8+IsBhq8ZbmuTS3wwC2Qq72ap69hLTMQz9PWoA l77Q== 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 i21si29597pfk.34.2018.04.09.03.37.58; Mon, 09 Apr 2018 03:38:36 -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 S1752100AbeDIKep (ORCPT + 99 others); Mon, 9 Apr 2018 06:34:45 -0400 Received: from a.mx.secunet.com ([62.96.220.36]:52920 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751770AbeDIKeo (ORCPT ); Mon, 9 Apr 2018 06:34:44 -0400 Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 3865E2018D; Mon, 9 Apr 2018 12:34:43 +0200 (CEST) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O1vTmwSF9GLK; Mon, 9 Apr 2018 12:34:42 +0200 (CEST) Received: from mail-essen-01.secunet.de (mail-essen-01.secunet.de [10.53.40.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id ABC872006E; Mon, 9 Apr 2018 12:34:42 +0200 (CEST) Received: from gauss2.secunet.de (10.182.7.193) by mail-essen-01.secunet.de (10.53.40.204) with Microsoft SMTP Server id 14.3.389.1; Mon, 9 Apr 2018 12:34:42 +0200 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 4DE8C318136F; Mon, 9 Apr 2018 12:34:42 +0200 (CEST) Date: Mon, 9 Apr 2018 12:34:42 +0200 From: Steffen Klassert To: Kevin Easton CC: Herbert Xu , "David S. Miller" , , Subject: Re: [PATCH v2 2/2] af_key: Use DIV_ROUND_UP() instead of open-coded equivalent Message-ID: <20180409103442.oiib3bi7rms5sgg3@gauss3.secunet.de> References: <494dcebdc07530d6afbd7eda300da890a3e68e1c.1523115061.git.kevin@guarana.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <494dcebdc07530d6afbd7eda300da890a3e68e1c.1523115061.git.kevin@guarana.org> User-Agent: NeoMutt/20170609 (1.8.3) X-G-Data-MailSecurity-for-Exchange-State: 0 X-G-Data-MailSecurity-for-Exchange-Error: 0 X-G-Data-MailSecurity-for-Exchange-Sender: 23 X-G-Data-MailSecurity-for-Exchange-Server: d65e63f7-5c15-413f-8f63-c0d707471c93 X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-G-Data-MailSecurity-for-Exchange-Guid: 2D3CB95D-EC16-459E-8E72-F73B2BC8F050 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 07, 2018 at 11:40:47AM -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 Please resubmit this one to ipsec-next after the merge window. Thanks!