Linux-mediatek Archive on
 help / color / Atom feed
* Re: [PATCH v5 0/3] drivers/acpi: Remove function callback casts
       [not found] <>
@ 2020-06-27 11:08 ` Marc Zyngier
  0 siblings, 0 replies; only message in thread
From: Marc Zyngier @ 2020-06-27 11:08 UTC (permalink / raw)
  To: Jason Cooper, Matthias Brugger, Bartosz Golaszewski,
	Thomas Gleixner, Oscar Carter, Kees Cook, Rafael J. Wysocki,
	Len Brown
  Cc: linux-acpi, Stephane Le Provost, Fabien Parent, Pedro Tsai,
	kernel-hardening, linux-kernel, Bartosz Golaszewski,
	linux-mediatek, Andrew Perepech, linux-arm-kernel

On Sat, 30 May 2020 16:34:27 +0200, Oscar Carter wrote:
> In an effort to enable -Wcast-function-type in the top-level Makefile to
> support Control Flow Integrity builds, there are the need to remove all
> the function callback casts in the acpi driver.
> The first patch creates a macro called ACPI_DECLARE_SUBTABLE_PROBE_ENTRY
> to initialize the acpi_probe_entry struct using the probe_subtbl field
> instead of the probe_table field to avoid function cast mismatches.
> [...]

Applied to irq/irqchip-5.9:

[1/3] drivers/acpi: Add new macro ACPI_DECLARE_SUBTABLE_PROBE_ENTRY
      commit: 89778093d38d547cd80f6097659d1cf1c2dd4d9d
[2/3] drivers/irqchip: Use new macro ACPI_DECLARE_SUBTABLE_PROBE_ENTRY
      commit: aba3c7ed3fcf74524b7072615028827d5e5750d7
[3/3] drivers/acpi: Remove function cast
      commit: 8ebf642f3d809b59f57d0d408189a2218294e269


Without deviation from the norm, progress is not possible.

Linux-mediatek mailing list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <>
2020-06-27 11:08 ` [PATCH v5 0/3] drivers/acpi: Remove function callback casts Marc Zyngier

Linux-mediatek Archive on

Archives are clonable:
	git clone --mirror linux-mediatek/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mediatek linux-mediatek/ \
	public-inbox-index linux-mediatek

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone