diff options
author | Ramon Fried <rfried.dev@gmail.com> | 2019-07-15 23:04:41 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-18 11:31:32 -0400 |
commit | eb18742575158a680070002cf182b0c64311c1b2 (patch) | |
tree | 7e5a098053de83715338f69cda6473553f6d20d2 /cmd/mtdparts.c | |
parent | 80f485f6a4165d381ebeca9a10662b95b94151aa (diff) |
pci_ep: fix wrong addressing to barno
barno was mistakely readed from the target structure,
resulting in undefined behavious depending on the previous memory
content. fix that.
Fixes: bb413337826e ("pci_ep: add pci endpoint sandbox driver")
Signed-off-by: Ramon Fried <rfried.dev@gmail.com>
[trini: Drop unused bar_idx]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/mtdparts.c')
0 files changed, 0 insertions, 0 deletions