lkml.org 
[lkml]   [2021]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] use DIV_ROUND_UP helper macro for calculations
Wu Bo <wubo40@huawei.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


\
 
 \ /
  Last update: 2021-05-25 10:37    [W:0.783 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site