public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PNP: Fix handling of pnp_bus_type
@ 2024-05-28 10:25 Andy Shevchenko
  2024-05-28 10:25 ` [PATCH v2 1/2] PNP: Make dev_is_pnp() to be a function and export it for modules Andy Shevchenko
  2024-05-28 10:25 ` [PATCH v2 2/2] PNP: Hide pnp_bus_type from the non-PNP code Andy Shevchenko
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Shevchenko @ 2024-05-28 10:25 UTC (permalink / raw)
  To: Andy Shevchenko, linux-acpi, linux-kernel
  Cc: Rafael J. Wysocki, Guanbing Huang, Guanbing Huang,
	Christoph Hellwig

There is a fix for recently introduced dev_is_pnp() that involves pnp_bus_type
and one improvement to hide that variable from the wider audience for good.

In v2:
- reworked patch 1 as suggested by Christoph
- added a new patch to make less possibilities for (ab)using pnp_bus_type

Andy Shevchenko (2):
  PNP: Make dev_is_pnp() to be a function and export it for modules
  PNP: Hide pnp_bus_type from the non-PNP code

 drivers/pnp/base.h   | 1 +
 drivers/pnp/driver.c | 6 ++++++
 include/linux/pnp.h  | 6 ++----
 3 files changed, 9 insertions(+), 4 deletions(-)

-- 
2.45.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-28 19:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 10:25 [PATCH v2 0/2] PNP: Fix handling of pnp_bus_type Andy Shevchenko
2024-05-28 10:25 ` [PATCH v2 1/2] PNP: Make dev_is_pnp() to be a function and export it for modules Andy Shevchenko
2024-05-28 10:53   ` Christoph Hellwig
2024-05-28 19:55   ` Rafael J. Wysocki
2024-05-28 10:25 ` [PATCH v2 2/2] PNP: Hide pnp_bus_type from the non-PNP code Andy Shevchenko
2024-05-28 10:53   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox