linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Make ACPI_PTR() use PTR_IF()
@ 2026-08-28  8:43 Sakari Ailus
  2026-08-28  8:43 ` [PATCH 1/3] media: ipu-bridge: Drop redundant ACPI_PTR() usage Sakari Ailus
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Sakari Ailus @ 2026-08-28  8:43 UTC (permalink / raw)
  To: linux-media; +Cc: linux-acpi, rafael

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


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

end of thread, other threads:[~2026-08-28 15:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28  8:43 [PATCH 0/3] Make ACPI_PTR() use PTR_IF() Sakari Ailus
2026-08-28  8:43 ` [PATCH 1/3] media: ipu-bridge: Drop redundant ACPI_PTR() usage Sakari Ailus
2026-08-28  9:58   ` Rafael J. Wysocki (Intel)
2026-08-28  8:43 ` [PATCH 2/3] ACPI: Use PTR_IF() for ACPI_PTR() Sakari Ailus
2026-08-28  9:56   ` Rafael J. Wysocki (Intel)
2026-08-28  8:43 ` [PATCH 3/3] media: i2c: Use ACPI_PTR() for ACPI ID tables Sakari Ailus
2026-08-28 13:30   ` Andy Shevchenko
2026-08-28 15:10     ` Sakari Ailus
2026-08-28 15:22       ` Andy Shevchenko
2026-08-28 15:44         ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).