[PATCH v2 0/8] add *_to_jiffies_timeout helpers to guarantee a minimum duration

Imre Deak
2013-05-14T14:48:43Z

For a motivation of this pachset see the commit log of patch 1/8.

v2:
- s/max_t/min_t/ when clamping to MAX_JIFFY_OFFSET
- change the _min suffix to _timeout (Daniel Vetter)
- add kerneldoc (Daniel Vetter)
- turn the macros into uninlined functions
- don't convert msecs_to_jiffies() users where the intention of +1 was
something else (Jean Delvare, Michal Kubecek)

Imre Deak (8):
time: add *_to_jiffies_timeout helpers to guarantee a minimum
duration
sched: msleep: take msecs_to_jiffies_timeout into use
drm/i915: take msecs_to_jiffies_timeout into use
media/si4713-i2c: take usecs_to_jiffies_timeout into use
usb/isp116x-hcd: take msecs_to_jiffies_timeout into use
net/sunrpc: take msecs_to_jiffies_timeout into use
net/tipc: take msecs_to_jiffies_timeout into use
sound/oxygen_io: take msecs_to_jiffies_timeout into use

drivers/gpu/drm/i915/intel_drv.h | 2 +-
drivers/gpu/drm/i915/intel_i2c.c | 2 +-
drivers/media/radio/si4713-i2c.c | 4 ++--
drivers/usb/host/isp116x-hcd.c | 2 +-
include/linux/jiffies.h | 6 ++++++
kernel/time.c | 27 +++++++++++++++++++++++++++
kernel/timer.c | 4 ++--
net/sunrpc/xprtrdma/verbs.c | 4 ++--
net/tipc/core.h | 2 +-
sound/pci/oxygen/oxygen_io.c | 2 +-
10 files changed, 44 insertions(+), 11 deletions(-)

--
1.7.10.4