kernel_optimize_test/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 ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acbuffer.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acconfig.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acexcep.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acnames.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
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: Remove FSF mailing addresses 2015-07-08 02:27:32 +02:00
acpi_io.h ACPI: fix acpi_os_ioremap for arm64 2015-03-25 11:49:30 +00:00
acpi_lpat.h
acpi_numa.h
acpi.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acpiosxf.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acpixf.h ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
acrestyp.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actbl.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actbl1.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actbl2.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actbl3.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actypes.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acuuid.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
apei.h
button.h ACPI: Eliminate CONFIG_.*{, _MODULE} #ifdef in favor of IS_ENABLED() 2015-09-15 03:05:45 +02:00
cppc_acpi.h ACPI / CPPC: remove redundant mbox_send_message() declaration 2016-02-03 01:09:52 +01:00
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 ACPI / video: Document acpi_video_handles_brightness_key_presses() a bit 2016-01-15 22:09:07 +01:00