Received: by 10.213.65.68 with SMTP id h4csp97727imn; Tue, 27 Mar 2018 23:00:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/aIJyCPMIEQnr3+0UBpdsoqv8/J5d3dBSCnGXNpARR6Ghl0tFqkR+yeENgDaFp/s9TfmGz X-Received: by 10.98.21.209 with SMTP id 200mr1835138pfv.232.1522216842297; Tue, 27 Mar 2018 23:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522216842; cv=none; d=google.com; s=arc-20160816; b=cw1xX6jolOWYEA6mozvW2cpkwiedsB2vDz4NxxCXYZcbfkhTHYrJvotsDqKjpr8tUj B2/zx8IxkSK/5Fqrh4hXPQfxVCQAjWbDP7i2g0BUBebFpohzW0Ls6+XseicsPLyR2j/2 XH11E6caO3Fkmrb/uWTmPB1iHvAgRMaj3jTqrElG4KBbdX0HhING7xeko1G5Dm78Xer7 gZzx/0UYLrqEeYSn3algTAGRbj0NluFKGd+xd/68qgvOVhrs2vGczKeVp6mmIvSptSey /05IiryTf2O4IHTXS7g91i3oua9FTLuw9qTfoiTQHtbpH44QjT/DaAf3Ie/hzHRY9yJC 4cjg== 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=amYtS1RLq5P9Qy2ti2L9fsPY0jOGaq8FbXCa15QB0XM=; b=TLnuenEGiBANOcvfQaOooFg34JgkrYsVEn/WmS+ZZWJ8qv+EJ4W1GwLCuL/4E9v+G0 jx/7xN0WOMWVWAoOTHRynIsWKYkyMQmn61MxYBwmrbXOvxtH7IsEzxN+LWtlCfQeRu1o BnCKL9kdgVu52UX++bMrZvUBr+cu3Cr1pLPCXLgrkfNGHFyi+gF5B9hO3QOJLkapkI90 s+2Yuzc0qpnUro5pDEJDJ/JzIl68WOroKVaTIUdQ5VBZECRnmwQhkh8ixFwhm9rNN7iy LNvTZShQlk41RQl6pEG9IfB5Q8RdmVA9x3M58EKlcwrew3XTfE+Vlv09uFbzHePW/Puo Cx3A== 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 13-v6si2804641plb.515.2018.03.27.23.00.27; Tue, 27 Mar 2018 23:00:42 -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 S1752051AbeC1F73 (ORCPT + 99 others); Wed, 28 Mar 2018 01:59:29 -0400 Received: from a.mx.secunet.com ([62.96.220.36]:43532 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbeC1F72 (ORCPT ); Wed, 28 Mar 2018 01:59:28 -0400 Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 4C06D201CA; Wed, 28 Mar 2018 07:59:26 +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 tGo558ErSoQU; Wed, 28 Mar 2018 07:59:25 +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 B277B20083; Wed, 28 Mar 2018 07:59:25 +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; Wed, 28 Mar 2018 07:59:24 +0200 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 4D92D3180FA1; Wed, 28 Mar 2018 07:59:25 +0200 (CEST) Date: Wed, 28 Mar 2018 07:59:25 +0200 From: Steffen Klassert To: Kevin Easton CC: Herbert Xu , "David S. Miller" , , Subject: Re: [PATCH 1/2] af_key: Use DIV_ROUND_UP() instead of open-coded equivalent Message-ID: <20180328055925.skrjbax24he3vcpk@gauss3.secunet.de> References: <930c4e2a88e93c6863ddb97df9ebd0fa1b32149e.1522063171.git.kevin@guarana.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <930c4e2a88e93c6863ddb97df9ebd0fa1b32149e.1522063171.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: 14466D38-76BB-42C7-9978-D51C37D71149 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.