mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 10:59:18 -04:00
staging/rdma/hfi1: Only warn when board description is not found
Change-Id: Icc4ad27c4c67e51df8c8a203c4f16973793678ec 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>
This commit is contained in:
@@ -13941,7 +13941,7 @@ static int obtain_boardname(struct hfi1_devdata *dd)
|
||||
ret = read_hfi1_efi_var(dd, "description", &size,
|
||||
(void **)&dd->boardname);
|
||||
if (ret) {
|
||||
dd_dev_err(dd, "Board description not found\n");
|
||||
dd_dev_info(dd, "Board description not found\n");
|
||||
/* use generic description */
|
||||
dd->boardname = kstrdup(generic, GFP_KERNEL);
|
||||
if (!dd->boardname)
|
||||
|
||||
Reference in New Issue
Block a user