summaryrefslogtreecommitdiffstats
path: root/Documentation/media-framework.txt
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2015-05-11 11:58:29 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2015-05-12 11:04:29 +1000
commit7b868e81be38d5ad4f4aa4be819a5fa543cc5ee8 (patch)
tree42fddf3b104664e76634117569eeaafc733731a7 /Documentation/media-framework.txt
parent13bd817bb88499ce1dc1dfdaffcde17fa492aca5 (diff)
downloadlinux-7b868e81be38d5ad4f4aa4be819a5fa543cc5ee8.tar.gz
linux-7b868e81be38d5ad4f4aa4be819a5fa543cc5ee8.tar.bz2
linux-7b868e81be38d5ad4f4aa4be819a5fa543cc5ee8.zip
powerpc/mm: Return NULL for not present hugetlb page
We need to check whether pte is present in follow_huge_addr() and properly return NULL if mapping is not present. Also use READ_ONCE when dereferencing pte_t address. Without this patch, we may wrongly return a zero pfn page in follow_huge_addr(). Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation/media-framework.txt')
0 files changed, 0 insertions, 0 deletions