[PATCH 0/3] Make ACPI_PTR() use PTR_IF()

Sakari Ailus <[email protected]>
Newsgroups org.kernel.vger.linux-acpi,org.kernel.vger.linux-media
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo
Message-ID <[email protected]>
Hi all,

This small set makes ACPI_PTR() use PTR_IF() and so enables using
ACPI_PTR() on ACPI ID tables without marking the tables with
__maybe_unused.

The ipu-bridge patch needs to be merged first as it contains some
unsanitary use of ACPI_PTR() and that needs to be merged before the ACPI
patch.

I'd take also the ACPI patch via the Media tree if people are happy with
the approach. Otherwise there are two dependencies between the ACPI and
Media trees.

Sakari Ailus (3):
  media: ipu-bridge: Drop redundant ACPI_PTR() usage
  ACPI: Use PTR_IF() for ACPI_PTR()
  media: i2c: Use ACPI_PTR() for ACPI ID tables

 drivers/media/i2c/ccs/ccs-core.c     |  2 +-
 drivers/media/i2c/cvs/core.c         |  4 ++--
 drivers/media/i2c/gc0310.c           |  2 +-
 drivers/media/i2c/mt9m114.c          |  2 +-
 drivers/media/i2c/ov02e10.c          |  2 +-
 drivers/media/i2c/ov2680.c           |  2 +-
 drivers/media/i2c/ov2740.c           |  2 +-
 drivers/media/i2c/ov5693.c           |  2 +-
 drivers/media/i2c/ov7251.c           |  2 +-
 drivers/media/i2c/ov8865.c           |  2 +-
 drivers/media/i2c/ov9734.c           |  2 +-
 drivers/media/pci/intel/ipu-bridge.c | 17 ++++++++---------
 include/linux/acpi.h                 |  5 ++---
 13 files changed, 22 insertions(+), 24 deletions(-)


base-commit: 56c29fa3ee666197516a231e75aed789ae9c530d
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.