diff options
author | Oscar Carter <oscar.carter@gmx.com> | 2020-05-30 16:34:30 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-06-27 12:55:52 +0200 |
commit | 8ebf642f3d809b59f57d0d408189a2218294e269 (patch) | |
tree | 9001170e24d78ef70f4aa916b0678e8247619f79 /drivers/irqchip | |
parent | drivers/irqchip: Use new macro ACPI_DECLARE_SUBTABLE_PROBE_ENTRY (diff) | |
download | linux-8ebf642f3d809b59f57d0d408189a2218294e269.tar.xz linux-8ebf642f3d809b59f57d0d408189a2218294e269.zip |
drivers/acpi: Remove function cast
Remove the function cast in the ACPI_DECLARE_PROBE_ENTRY macro to ensure
that the functions passed as a last parameter to this macro have the
right prototype.
This is an effort to enable -Wcast-function-type in the top-level Makefile
to support Control Flow Integrity builds.
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20200530143430.5203-4-oscar.carter@gmx.com
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions