mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Fix r272936 build with old GCC.
MFC after: 1 week
This commit is contained in:
parent
829485ba7e
commit
bb829be508
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272937
@ -2472,7 +2472,8 @@ isp_add_wwn_entry(ispsoftc_t *isp, int chan, uint64_t ini, uint16_t nphdl, uint3
|
||||
|
||||
lp = NULL;
|
||||
if (fcp->isp_tgt_map[nphdl]) {
|
||||
lp = &fcp->portdb[fcp->isp_tgt_map[nphdl] - 1];
|
||||
i = fcp->isp_tgt_map[nphdl] - 1;
|
||||
lp = &fcp->portdb[i];
|
||||
} else {
|
||||
/*
|
||||
* Make sure the addition of a new target mode entry doesn't duplicate entries
|
||||
|
Loading…
Reference in New Issue
Block a user