Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4161811pxj; Tue, 25 May 2021 01:37:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2UnoccYREsmI+H9FT0m4vXKOgo//c4+4HxfJME6ETkoMKq5P0utGYqnV4inD96DGsOyd5 X-Received: by 2002:a17:906:71a:: with SMTP id y26mr25053110ejb.491.1621931835053; Tue, 25 May 2021 01:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621931835; cv=none; d=google.com; s=arc-20160816; b=hD8frj59E/fiO9sFMxd9Eho2xKHHRYPO+JhUMP8AaCZ2CAahMycdamOd0UpMnjQBCV mI3p1hlQnRK2kxECFg6ikYhmrrtMZ9H6PQJzww43ijBjKhoGm9pjQ4rV77J3Ik8bhnN4 kPnn/Me/VzpeGGzq+sLstXAD0KnBTCTq/R/vEdce7Zxtk0MPQFzvCOQumbv7q1oNbGN2 F6xRoqGWhyIVeen9G9hMj5v8FH0+ZAq3Ynl4ROwGrGmKsd2dSA61SVqH5941egPWmaRR xpgnBIoAEELItcNB1k9YODPMrwf5gT0Hv+v07Eiv5nyNXiaR6TYzf6uIBAuICTHY2giW +T7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=dnibKoY0RiKKRRpvEfEUqHUTgLd73WsvA0R27xtKZFg=; b=r3yhQFbEmJB02ppGFjTYo46oROAIySPts6t5PU1sgxwzsJN0TeEY5omyqbSyqDugGS 1KRLezogPhaYlsmXONlpsQfbr+9why4N5qSlQne+3/k1FTcaFEM6ynqtHmuYq4BE1kjZ G4VjtXU0W7/477H9+QxWHLzAxmeRnBRjVMrDD+L9FPC6YVlx0+mynpxD0eihKi50R28a IcfVHdhBHvC/6jVnD4/RqfWXEJtGiFOYKCYdu/a+6TTefqnLrLPmG/aFtDjLixhGzt+h ioaATqw2F8N7HYgpkYLhH1Rjq+EKSor5ugN+6T8fMsGF7Xqlor5p0bL9HzAFS3MNDGNn 2RWw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si15579491ejh.112.2021.05.25.01.36.41; Tue, 25 May 2021 01:37:15 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232132AbhEYIJl (ORCPT + 99 others); Tue, 25 May 2021 04:09:41 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5699 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232010AbhEYIJN (ORCPT ); Tue, 25 May 2021 04:09:13 -0400 Received: from dggems704-chm.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fq5kd73PSz1BRfP; Tue, 25 May 2021 15:46:49 +0800 (CST) Received: from dggpeml500019.china.huawei.com (7.185.36.137) by dggems704-chm.china.huawei.com (10.3.19.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 25 May 2021 15:49:40 +0800 Received: from huawei.com (10.175.124.27) by dggpeml500019.china.huawei.com (7.185.36.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 25 May 2021 15:49:40 +0800 From: Wu Bo To: , , , , , CC: , Subject: [PATCH 0/2] use DIV_ROUND_UP helper macro for calculations Date: Tue, 25 May 2021 16:15:18 +0800 Message-ID: <1621930520-515336-1-git-send-email-wubo40@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500019.china.huawei.com (7.185.36.137) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patchset is replace open coded divisor calculations with the DIV_ROUND_UP kernel macro for better readability. 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