On 8.10.2020 20.11, Colin King wrote: > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > 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. > > Addresses-Coverity: ("Sizeof not portable (SIZEOF_MISMATCH)") > Fixes: bcaa9d5c5900 ("xhci: Create new structures to store xhci port information") > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> > --- Thanks, added -Mathias