summaryrefslogtreecommitdiffstats
path: root/mm/fadvise.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2018-07-12 11:28:22 +0200
committerWei Xu <xuwei5@hisilicon.com>2018-07-16 18:36:42 +0200
commit9f30b5ae0585ca5234fe979294b8f897299dec99 (patch)
tree1845b5e6fd8ba5a0403951ba6603893f6f5b453b /mm/fadvise.c
parentLinux 4.18-rc1 (diff)
downloadlinux-9f30b5ae0585ca5234fe979294b8f897299dec99.tar.xz
linux-9f30b5ae0585ca5234fe979294b8f897299dec99.zip
ARM: hisi: fix error handling and missing of_node_put
of_iomap() can return NULL which seems critical here and thus should be explicitly flagged so that the cause of system halting can be understood. As of_find_compatible_node() is returning a device node with refcount incremented it must be explicitly decremented here. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Fixes: commit 7fda91e73155 ("ARM: hisi: enable smp for HiP01") Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions