aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2022-01-11 16:55:25 +0100
committerRafael J. Wysocki <[email protected]>2022-01-25 18:41:23 +0100
commitae57857b9b6341096ddfd9c0cf26fb640c561160 (patch)
tree91295591eaeefcd5a5fa0c0198a859fa87c3e3e2 /drivers/fpga/fpga-mgr.c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
ACPICA: Use uintptr_t and offsetof() in Linux kernel builds
To avoid "performing pointer subtraction with a null pointer has undefined behavior" compiler warnings, use uintptr_t and offsetof() that are always available during Linux kernel builds to define acpi_uintptr_t and the ACPI_TO_INTEGER() and ACPI_OFFSET() macros. Based on earlier proposal from Arnd Bergmann. Link: https://lore.kernel.org/linux-acpi/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions