lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 25 May 2021 10:41:00 +0200
From:   Christophe Leroy <christophe.leroy@...roup.eu>
To:     Wu Bo <wubo40@...wei.com>
Cc:     linfeilong@...wei.com, linux-kernel@...r.kernel.org,
        linux-crypto@...r.kernel.org, linux-fsdevel@...r.kernel.org,
        davem@...emloft.net, herbert@...dor.apana.org.au,
        viro@...iv.linux.org.uk
Subject: Re: [PATCH 0/2] use DIV_ROUND_UP helper macro for calculations

Wu Bo <wubo40@...wei.com> 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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ