mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 05:43:59 +00:00
In sys/dev/qlxgb/qla_misc.c, fix a copy/paste issue. Clang complained
the variable 'val' was uninitialized when used. Instead, 'sig' should have been printed. Reviewed by: davidcs MFC after: 1 week
This commit is contained in:
parent
c6f4ea8062
commit
7c864d7df9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229423
|
@ -407,7 +407,7 @@ qla_crb_init(qla_host_t *ha)
|
|||
addr_val_t *addr_val_map, *avmap;
|
||||
|
||||
qla_rd_flash32(ha, 0, &sig);
|
||||
QL_DPRINT2((ha->pci_dev, "%s: val[0] = 0x%08x\n", __func__, val));
|
||||
QL_DPRINT2((ha->pci_dev, "%s: val[0] = 0x%08x\n", __func__, sig));
|
||||
|
||||
qla_rd_flash32(ha, 4, &val);
|
||||
QL_DPRINT2((ha->pci_dev, "%s: val[4] = 0x%08x\n", __func__, val));
|
||||
|
|
Loading…
Reference in a new issue