linux/include/acpi
Heikki Krogerus 0224a4a30b device property: Avoid potential dereferences of invalid pointers
Since fwnode may hold ERR_PTR(-ENODEV) or it may be NULL,
the fwnode type checks is_of_node(), is_acpi_node() and is
is_pset_node() need to consider it. Using IS_ERR_OR_NULL()
to check it.

Fixes: 0d67e0fa16 (device property: fix for a case of use-after-free)
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
[ rjw: Subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-04-27 23:40:02 +02:00
..
platform
acbuffer.h
acconfig.h
acexcep.h
acnames.h
acoutput.h ACPICA: Utilities: Update trace mechinism for acquire_object 2016-03-08 22:56:21 +01:00
acpi_bus.h device property: Avoid potential dereferences of invalid pointers 2016-04-27 23:40:02 +02:00
acpi_drivers.h
acpi_io.h
acpi_lpat.h
acpi_numa.h
acpi.h
acpiosxf.h
acpixf.h ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
acrestyp.h
actbl1.h
actbl2.h
actbl3.h
actbl.h
actypes.h
acuuid.h
apei.h
button.h
cppc_acpi.h
ghes.h
hed.h
pdc_intel.h
processor.h ACPI / sleep: move acpi_processor_sleep to sleep.c 2016-02-22 00:53:56 +01:00
reboot.h
video.h