Skip to content

PNP: Fix handling of pnp_bus_type

Andy Shevchenko linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 3 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PNP: Make dev_is_pnp() to be a function and export it for modulesdrivers/pnp/driver.c include/linux/pnp.h+8 -22 replies
2/2PNP: Hide pnp_bus_type from the non-PNP codedrivers/pnp/base.h include/linux/pnp.h+1 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] PNP: Fix handling of pnp_bus_type

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(-)
Signature · 1 line
2.45.1