summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom/Makefile
diff options
context:
space:
mode:
authorWambui Karuga <wambui.karugax@gmail.com>2019-10-13 21:47:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-14 15:36:58 +0200
commit388fa43d5979c400be9a73649058b33a2701cea0 (patch)
treed43d12f96bbb306d0c00e63578527fcfa9dcef28 /drivers/cdrom/Makefile
parent51a50b26c6dd296413350744722e4e5964c0991a (diff)
downloadlinux-388fa43d5979c400be9a73649058b33a2701cea0.tar.bz2
staging: vc04_services: use DIV_ROUND_UP helper macro
Replace open-coded division calculation with the DIV_ROUND_UP helper macro for better readability. Issue found using coccinelle: @@ expression n,d; @@ ( - ((n + d - 1) / d) + DIV_ROUND_UP(n,d) | - ((n + (d - 1)) / d) + DIV_ROUND_UP(n,d) ) Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com> Link: https://lore.kernel.org/r/20191013184750.32766-1-wambui.karugax@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdrom/Makefile')
0 files changed, 0 insertions, 0 deletions