summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dc395x.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2012-10-09 06:01:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 17:37:17 +0200
commit253c9240ee09fd2a05d315ea44ac037a893d8981 (patch)
tree51694cfbb6d5f4c74e32eb19eb0ee6f5f48e0bb4 /drivers/scsi/dc395x.c
parentfirmware loader: cancel uncache work before caching firmware (diff)
downloadlinux-253c9240ee09fd2a05d315ea44ac037a893d8981.tar.xz
linux-253c9240ee09fd2a05d315ea44ac037a893d8981.zip
firmware loader: fix one reqeust_firmware race
Several loading requests may be pending on one same firmware buf, and this patch moves fw_map_pages_buf() before complete_all(&fw_buf->completion) and let all requests see the mapped 'buf->data' once the loading is completed. Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions