summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/utids.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2018-01-25 02:42:30 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-04 10:58:31 +0300
commit761f0b82393353507930b6721ae4311a9df2ca36 (patch)
tree44e5138751d101dc6f8eabca6bd3d8132dfc35a1 /drivers/acpi/acpica/utids.c
parent0eedae8e5f983aba6fb5c29c8699ecf03c7e50e0 (diff)
downloadlinux-761f0b82393353507930b6721ae4311a9df2ca36.tar.xz
ACPICA: Avoid NULL pointer arithmetic
We should not assume NULL is defined as "(void *)0" because NULL is an implementation-defined macro. Especially, Clang 6 complains about it, i.e., "arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension". Signed-off-by: Jung-uk Kim <jkim@free_BSD.org> Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/utids.c')
0 files changed, 0 insertions, 0 deletions