Revision 0224a4a30b57385a60065aa598181868881d8fc6 authored by Heikki Krogerus on 27 April 2016, 11:04:20 UTC, committed by Rafael J. Wysocki on 27 April 2016, 21:40:02 UTC
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: 0d67e0fa1664 (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>
1 parent 02da2d7
File | Mode | Size |
---|---|---|
configs | ||
include | ||
kernel | ||
lib | ||
math-emu | ||
mm | ||
oprofile | ||
Kconfig | -rw-r--r-- | 8.0 KB |
Kconfig.debug | -rw-r--r-- | 573 bytes |
Makefile | -rw-r--r-- | 4.5 KB |
defpalo.conf | -rw-r--r-- | 815 bytes |
install.sh | -rw-r--r-- | 1.6 KB |
nm | -rw-r--r-- | 194 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...