]> asedeno.scripts.mit.edu Git - linux.git/commit
Staging: gasket: Use DIV_ROUND_UP
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Wed, 3 Apr 2019 15:06:43 +0000 (10:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:22:50 +0000 (13:22 +0200)
commit740a998d58eecf00e0ba7bbe8cf1c0351a91a331
tree1f20357f7e971369c819c390c267b46969770633
parente2e89d4a732039d280a6204d8acf2e6daad7f4e9
Staging: gasket: Use DIV_ROUND_UP

Use DIV_ROUND_UP in-kernel function to make code simple and more
understandable.

Issue found using Coccinelle.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_page_table.c