]> git.karo-electronics.de Git - linux-beck.git/commit
staging/rdma/hfi1: Fix missing firmware NULL dereference
authorDean Luick <dean.luick@intel.com>
Wed, 3 Feb 2016 22:31:40 +0000 (14:31 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:47 +0000 (20:37 -0500)
commit6b14e0ea48890e633ac69caa3ae13beccdd497be
treef7b3ad4e089568bb036d3c34378f2a6949f0383a
parentcbac386a120a7e8a26c013f496717b11cacbd99c
staging/rdma/hfi1: Fix missing firmware NULL dereference

The gen3 bump code must mark a firmware download failure as fatal.
Otherwise a later load attempt will fail with a NULL dereference.

Also:
o Only do a firmware back-off for RTL.  There are no alternates for
  FPGA or simulation.
o Rearrange OS firmware request order to match what is actually
  loaded.  This results in more coherent informational messages
  in the case of missing firmware.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/firmware.c
drivers/staging/rdma/hfi1/pcie.c