lkml.org 
[lkml]   [2012]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] mei: fix mismatch in mutex unlock-lock in mei_amthif_read()
Date


>
> Users of mei_amthif_read() expect it leaves dev->device_lock held, while
> there is a path where mei_amthif_read() unlocks device_lock and returns -
> ERESTARTSYS.
>
> The patch move code locking device_lock back before the return.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>

Greg. This should be eligible for 3.8.

Thanks
Tomas




\
 
 \ /
  Last update: 2012-12-23 10:41    [W:0.039 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site