lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aVFsXuSacKr483W8@smile.fi.intel.com>
Date: Sun, 28 Dec 2025 19:43:58 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Bartosz Golaszewski <bartosz.golaszewski@....qualcomm.com>
Cc: Charles Keepax <ckeepax@...nsource.cirrus.com>,
	Linus Walleij <linusw@...nel.org>,
	Bartosz Golaszewski <brgl@...nel.org>, linux-gpio@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: swnode: compare the "undefined" swnode by its
 address, not name

On Mon, Dec 15, 2025 at 04:46:24PM +0100, Bartosz Golaszewski wrote:
> We know the address of the underlying remote software node referenced by
> the GPIO property (if it is a software node). We don't need to compare
> its name, we can compare its address which is more precise anyway.

...

> -const struct software_node swnode_gpio_undefined = {
> -	.name = GPIOLIB_SWNODE_UNDEFINED_NAME,
> -};
> +const struct software_node swnode_gpio_undefined = { };

This will remove the name from sysfs, which may be informative.

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ