mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Initialize variable in sys/x86/iommu/busdma_dmar.c, to avoid possible
uninitialized use. Reviewed by: kib
This commit is contained in:
parent
1c5ce94f1d
commit
e7d8b7e43f
1 changed files with 1 additions and 0 deletions
|
|
@ -341,6 +341,7 @@ dmar_bus_dmamap_load_something1(struct bus_dma_tag_dmar *tag,
|
|||
segs = tag->segments;
|
||||
ctx = tag->ctx;
|
||||
seg = *segp;
|
||||
error = 0;
|
||||
idx = 0;
|
||||
while (buflen > 0) {
|
||||
seg++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue