[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <43dc0950-c76e-713d-8d51-cdc3be9c9f46@linux.intel.com>
Date: Mon, 26 Oct 2020 15:46:20 +0200
From: Mathias Nyman <mathias.nyman@...ux.intel.com>
To: Colin King <colin.king@...onical.com>,
Mathias Nyman <mathias.nyman@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xhci: Fix sizeof() mismatch
On 8.10.2020 20.11, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.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@...onical.com>
> ---
Thanks, added
-Mathias
Powered by blists - more mailing lists