linux/drivers/staging/most
simran singhal bdc58e3bef staging: most: Using macro DIV_ROUND_UP
The macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) /(d)).
It clarifies the divisor calculations. This occurence was detected using
the coccinelle script:

@@
expression e1;
expression e2;
@@
(
- ((e1) + e2 - 1) / (e2)
+ DIV_ROUND_UP(e1,e2)
|
- ((e1) + (e2 - 1)) / (e2)
+ DIV_ROUND_UP(e1,e2)
)

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-06 09:17:02 +01:00
..
aim-cdev staging: most: aim-cdev: make syscall write accept buffers of arbitrary size 2016-09-23 19:00:44 +02:00
aim-network staging: most: aim-networking: keep channels closed if ndo_open fails 2016-10-27 15:12:08 +02:00
aim-sound Staging: most: aim-sound: constify snd_pcm_ops structures 2016-09-27 13:06:55 +02:00
aim-v4l2 Staging: most: aim-v4l2: constify v4l2_file_operations structures 2016-09-27 13:06:55 +02:00
Documentation staging: most: Documentation: update ABI description 2016-09-12 09:47:15 +02:00
hdm-dim2 staging: most: Using macro DIV_ROUND_UP 2017-03-06 09:17:02 +01:00
hdm-i2c staging:most/hdm-i2c: Replace symbolic permissions with octal permissions 2017-02-05 11:41:38 +01:00
hdm-usb staging: most: hdm-usb: fix symbolic permissions warning 2017-01-27 09:40:56 +01:00
mostcore staging: most: Eliminate usage of symbolic permissions 2016-11-29 21:57:14 +01:00
Kconfig
Makefile
TODO