diff options
author | Oliver Neukum <oneukum@suse.de> | 2014-03-28 11:10:30 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 14:04:59 -0700 |
commit | e7eda9329372f5e436e5a9291eb115eab0feae02 (patch) | |
tree | e882eb775c1d6c0a5751f35e7b347034a777b548 /drivers/regulator/dummy.c | |
parent | f7a87195603ae9db133ddd393169dd6c1d45b4a3 (diff) | |
download | linux-e7eda9329372f5e436e5a9291eb115eab0feae02.tar.bz2 |
uas: fix GFP_NOIO under spinlock
Quote Dan:
The patch e36e64930cff: "uas: Use GFP_NOIO rather then GFP_ATOMIC
where possible" from Nov 7, 2013, leads to the following static
checker warning:
drivers/usb/storage/uas.c:806 uas_eh_task_mgmt()
error: scheduling with locks held: 'spin_lock:lock'
Some other allocations under spinlock are not caught.
The fix essentially reverts e36e64930cffd94e1c37fdb82f35989384aa946b
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/regulator/dummy.c')
0 files changed, 0 insertions, 0 deletions