Messages in this thread | | | Subject | Re: [PATCH] xhci: Fix sizeof() mismatch | From | Mathias Nyman <> | Date | Mon, 26 Oct 2020 15:46:20 +0200 |
| |
On 8.10.2020 20.11, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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@canonical.com> > ---
Thanks, added
-Mathias
| |