]> git.baikalelectronics.ru Git - kernel.git/commit
staging/android: do not let userspace trigger WARN_ON
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 11 Aug 2016 15:26:40 +0000 (12:26 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 14:39:45 +0000 (16:39 +0200)
commitd89ef87762feebc88a8ae7352f01300e1e99a149
treef3a1e7961a8270fa3d71c9947152821e8f72a4a7
parent6d1fc81231199abdd47fc3c2089d73b4b9b7a195
staging/android: do not let userspace trigger WARN_ON

Closing the timeline without waiting all fences to signal is not
a critical failure, it is just bad usage from userspace so avoid
calling WARN_ON in this case.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/sw_sync.c