[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2a3ab595-80b2-fd4a-8748-c823fa5ec098@linux.intel.com>
Date: Fri, 15 Mar 2024 17:36:16 +0200
From: Mathias Nyman <mathias.nyman@...ux.intel.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] usb: usb-acpi: fix uninitialized variable in
usb_acpi_get_connect_type()
On 15.3.2024 17.21, Dan Carpenter wrote:
> The "pld" pointer is uninitialized if acpi_get_physical_device_location()
> fails. Initialize it to NULL.
>
> Fixes: f3ac348e6e04 ("usb: usb-acpi: Set port connect type of not connectable ports correctly")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> ---
I sent a similar patch a week ago, just before merge window opened.
looks like it didn't make it.
https://lore.kernel.org/linux-usb/20240308113425.1144689-1-mathias.nyman@linux.intel.com/
Thanks
Mathias
Powered by blists - more mailing lists