[lkml]   [2023]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: arm64: libgpiod: refcount_t: underflow; use-after-free.
On Tue, Feb 21, 2023 at 07:13:31PM +0200, Andy Shevchenko wrote:
> On Mon, Feb 20, 2023 at 08:29:27PM +0530, Naresh Kamboju wrote:
> > Following kernel warning notices on qemu-arm64, qemu-arm and also on devices
> > running Linux version v6.2.0 while running libgpiod tests.


> - ACPI_COMPANION_SET(&pdev->dev, NULL);

This line should stay otherwise it will remove the device that may share
the fwnode with this newly created platform device.

With Best Regards,
Andy Shevchenko

 \ /
  Last update: 2023-03-27 00:30    [W:0.084 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site