diff options
| author | Colin Ian King <[email protected]> | 2020-10-28 22:31:22 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-29 08:29:12 +0100 |
| commit | a75e2d604da8219d928be010bde37c3ab0ebd466 (patch) | |
| tree | 8b11dbd0316df4b595e01a40aceb53f46b1269da /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | befa1c2d65c639a7aefa793d36d7229732f14642 (diff) | |
xhci: Fix sizeof() mismatch
An incorrect sizeof() is being used, sizeof(rhub->ports) is not
correct, it should be sizeof(*rhub->ports). This bug did not
cause any issues because it just so happens the sizes are the same.
Fixes: bcaa9d5c5900 ("xhci: Create new structures to store xhci port information")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions