summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_utils_transport.c
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2016-07-06 23:14:47 +0200
committerDoug Ledford <dledford@redhat.com>2016-07-12 16:46:24 +0200
commit98f179a5eaf77eaac49df3d0c217c6eaaba8c0db (patch)
tree4b15d13bca8be3cb662896164d3bf04bac91ede9 /drivers/hv/hv_utils_transport.c
parentIB/hfi1: Correct issues with sc5 computation (diff)
downloadlinux-98f179a5eaf77eaac49df3d0c217c6eaaba8c0db.tar.xz
linux-98f179a5eaf77eaac49df3d0c217c6eaaba8c0db.zip
IB/hfi1: Fix sleep inside atomic issue in init_asic_data
The critical section should protect only the list traversal and dd->asic_data modification, not the memory allocation. The fix pulls the allocation out of the critical section. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Reviewed-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/hv/hv_utils_transport.c')
0 files changed, 0 insertions, 0 deletions