SlickEdit Community
SlickEdit Product Discussion => SlickEdit® => Topic started by: joecar on November 10, 2017, 06:26:10 PM
-
In some cases, when I show references, not all references are shown...
attached screenshots show that only one reference is shown (the definition of the struct member)...
the attached screen video (look carefully) shows that it actually finds more references but changes its mind.
-
source code files involved are attached (it's open source code, available at www.kernel.org).
-
This is with Find References Incrementally enabled, see screenshot...
qla_init.c::qla81xx_nvram_config() should display 4 references to nv->login_retry_count (see screenshot of search in post#1 above).
-
See first attached search image...
when I rename the nv->login_retry_count instances in context qla24xx_nvram_config() (i.e. so that they do not match the reference/search) then the references correctly show up for qla81xx_nvram_config(), see second attached image.
-
it somehow looks like the context's of struct nvram_24xx and struct nvram_81xx interfere with each other.
int
qla24xx_nvram_config(scsi_qla_host_t *vha)
{
. . .
struct nvram_24xx *nv;
. . .
}
int
qla81xx_nvram_config(scsi_qla_host_t *vha)
{
. . .
struct nvram_81xx *nv;
. . .
}
-
Also, with source code back to original (see reply#3 above):
when I find references of login_retry_count from struct nvram_24xx, it finds all of them and all of those from struct mvram_81xx... see attached pic.
-
hotfix 11:
- search with Current Procedure context now limits the match to current procedure.
- find references still behaves the same (struct nvram_24xx and struct nvram_81xx interefere with each other).
-
Thanks for the detailed report. This will be fixed in the upcoming 22.0.1 release.
-
Thanks.