Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4172938pxj; Tue, 25 May 2021 01:56:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW1qlymM/QEmgjohlFvf/t8GACedWqIQcN8fQuiAW7w+vb0zTE4Au3I07LfMxVRx+59pqi X-Received: by 2002:a05:6e02:dcf:: with SMTP id l15mr19813966ilj.227.1621932977481; Tue, 25 May 2021 01:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621932977; cv=none; d=google.com; s=arc-20160816; b=vkKwDDB2O8kYNY5zu89LnLNqWlT67cucWbmQucUTcQZXbVD6w/4M9C6v4PmhgRf3d9 K2bPQbYINFSlfb5cler5MRFZQGQFG5UfcEdfAi2nI1E0bGytCu0Zy4a0cZSJMr01hsdv OvvEo5geIbE7Oe9178c3dtz83G8ak5H+sqTjc1xiTyxPLGj7qGKQ/ZL1WE7LBuS55ZK3 RzXCY9+1gaci/oWrvfMV5Hysik9ngB4G/OsKpWsZox1QLxe/S9taNzqPZzm/Igd/yGaj qlUxDh8g+e7cQ3MYx26Rs8zsHcOgL9TkLOMAfUP+2/LlqcxjKulwK9IbWxzsiEAphiI6 ppvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:user-agent:in-reply-to:subject:cc:to:from:message-id :date; bh=lCrKNs7dJyUKJvDftbOYbnmwgel7BiqDVff98HUf47g=; b=orrSiwWB2GEzk/zUPLjlckN4TBptYsFw3LLTw8RYc6khgiZtG7yBUtP6wGc/7Y5JtF aQ6tU+e1vcwDpwrAcYCUM2U3PM7npUFn38Sk4r/fSKaQnE5EHzVyHFgLQ9MN7O6jGsAm Avp1XFUqulhlLTdq7Qa9zXLdhWBM+zdN2EpDuJH2VjR/eVsZ/WZBvRpFx6sJgvuz18q/ 3Ppa8IoSDR3pRDzRoeRYTIyBoJ5qG93ic6Imzly7stLbZ7LiniqY0lkrY/crOkbdGVJZ XhU+9+DuXfHv8ML3q5zFSXrh9zQ26ONZzInRKBbA2L5W3leQyuOv8zq0y87DNvSsB7Fs Zrhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b26si17272019ios.29.2021.05.25.01.56.04; Tue, 25 May 2021 01:56:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231668AbhEYIiG convert rfc822-to-8bit (ORCPT + 99 others); Tue, 25 May 2021 04:38:06 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:21509 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231590AbhEYIiG (ORCPT ); Tue, 25 May 2021 04:38:06 -0400 Received: from localhost (mailhub3.si.c-s.fr [192.168.12.233]) by localhost (Postfix) with ESMTP id 4Fq6r34ZHLzBC1g; Tue, 25 May 2021 10:36:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xLOZw0K92lM2; Tue, 25 May 2021 10:36:35 +0200 (CEST) Received: from vm-hermes.si.c-s.fr (vm-hermes.si.c-s.fr [192.168.25.253]) by pegase1.c-s.fr (Postfix) with ESMTP id 4Fq6r33gJszBC1c; Tue, 25 May 2021 10:36:35 +0200 (CEST) Received: by vm-hermes.si.c-s.fr (Postfix, from userid 33) id C2C4D635; Tue, 25 May 2021 10:41:00 +0200 (CEST) Received: from 37.173.125.11 ([37.173.125.11]) by messagerie.c-s.fr (Horde Framework) with HTTP; Tue, 25 May 2021 10:41:00 +0200 Date: Tue, 25 May 2021 10:41:00 +0200 Message-ID: <20210525104100.Horde.hAT97HqOl-b_86VT9ois8Q1@messagerie.c-s.fr> From: Christophe Leroy To: Wu Bo Cc: linfeilong@huawei.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-fsdevel@vger.kernel.org, davem@davemloft.net, herbert@gondor.apana.org.au, viro@zeniv.linux.org.uk Subject: Re: [PATCH 0/2] use DIV_ROUND_UP helper macro for calculations In-Reply-To: <1621930520-515336-1-git-send-email-wubo40@huawei.com> User-Agent: Internet Messaging Program (IMP) H5 (6.2.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Wu Bo a écrit : > This patchset is replace open coded divisor calculations with the > DIV_ROUND_UP kernel macro for better readability. We call it a series not a patchset. PFN_UP() from pfn.h should be used instead of DIV_ROUND_UP() I believe. > > Wu Bo (2): > crypto: af_alg - use DIV_ROUND_UP helper macro for calculations > fs: direct-io: use DIV_ROUND_UP helper macro for calculations > > crypto/af_alg.c | 2 +- > fs/direct-io.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > -- > 1.8.3.1