]> git.baikalelectronics.ru Git - kernel.git/commit
rds: use DIV_ROUND_UP instead of ceil
authorJacob Wen <jian.w.wen@oracle.com>
Mon, 7 Jan 2019 01:59:59 +0000 (09:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jan 2019 15:22:36 +0000 (07:22 -0800)
commita5dd19e813199b8061f2aa0c09dd86cd8d3d4409
treea6a3fd94a38cd29cddb7b6ce6cf3f90fbf45f3ba
parentfbbea7bd767d6e62eadec1c5e2061393f63d2140
rds: use DIV_ROUND_UP instead of ceil

Yes indeed, DIV_ROUND_UP is in kernel.h.

Signed-off-by: Jacob Wen <jian.w.wen@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_send.c
net/rds/message.c
net/rds/rds.h
net/rds/send.c