summaryrefslogtreecommitdiff
path: root/mm/dmapool_test.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-08-06 00:51:21 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-09 08:56:39 +0300
commitc80bfa4f9e0ebfce6ac909488d412347acbcb4f9 (patch)
tree3fd5af3aaeddb4c3815b2be50949f4b4d58d08ad /mm/dmapool_test.c
parentf89906691495eff7a8b5809f63025bb02abd779e (diff)
downloadlinux-c80bfa4f9e0ebfce6ac909488d412347acbcb4f9.tar.xz
media: ti: cal: use 'time_left' variable with wait_event_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to store the result of wait_event_timeout() causing patterns like: timeout = wait_event_timeout(...) if (!timeout) return -ETIMEDOUT; with all kinds of permutations. Use 'time_left' as a variable to make the code self explaining. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'mm/dmapool_test.c')
0 files changed, 0 insertions, 0 deletions