Commit 845f876d authored by Dean Luick's avatar Dean Luick Committed by Doug Ledford

staging/rdma/hfi1: Only warn when board description is not found

Change-Id: Icc4ad27c4c67e51df8c8a203c4f16973793678ec
Reviewed-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDean Luick <dean.luick@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 69a00b8e
...@@ -13941,7 +13941,7 @@ static int obtain_boardname(struct hfi1_devdata *dd) ...@@ -13941,7 +13941,7 @@ static int obtain_boardname(struct hfi1_devdata *dd)
ret = read_hfi1_efi_var(dd, "description", &size, ret = read_hfi1_efi_var(dd, "description", &size,
(void **)&dd->boardname); (void **)&dd->boardname);
if (ret) { if (ret) {
dd_dev_err(dd, "Board description not found\n"); dd_dev_info(dd, "Board description not found\n");
/* use generic description */ /* use generic description */
dd->boardname = kstrdup(generic, GFP_KERNEL); dd->boardname = kstrdup(generic, GFP_KERNEL);
if (!dd->boardname) if (!dd->boardname)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment