commit | a4e697dc82aac0f1520fe054cbd43d4a6bc9d0dc | [log] [tgz] |
---|---|---|
author | Ramon Fried <rfried.dev@gmail.com> | Mon Jul 15 23:04:41 2019 +0300 |
committer | Tom Rini <trini@konsulko.com> | Thu Jul 18 11:31:32 2019 -0400 |
tree | 7e5a098053de83715338f69cda6473553f6d20d2 | |
parent | 747db2c2ac48216261f2a6265394a8a8d9bc51b8 [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>