summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/pgalloc.h
diff options
context:
space:
mode:
authorHeiko Carstens2006-07-12 16:41:55 +0200
committerMartin Schwidefsky2006-07-12 16:41:55 +0200
commitd2c993d845781d160a7ef759a3e65c6892c4a270 (patch)
treef63be38ab83363282c519048849663201f664818 /include/asm-s390/pgalloc.h
parent[S390] path grouping and path verifications fixes. (diff)
downloadkernel-qcow2-linux-d2c993d845781d160a7ef759a3e65c6892c4a270.tar.gz
kernel-qcow2-linux-d2c993d845781d160a7ef759a3e65c6892c4a270.tar.xz
kernel-qcow2-linux-d2c993d845781d160a7ef759a3e65c6892c4a270.zip
[S390] Fix sparse warnings.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/pgalloc.h')
-rw-r--r--include/asm-s390/pgalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-s390/pgalloc.h b/include/asm-s390/pgalloc.h
index 3002fda89d33..a78e853e0dd5 100644
--- a/include/asm-s390/pgalloc.h
+++ b/include/asm-s390/pgalloc.h
@@ -142,7 +142,7 @@ pte_alloc_one(struct mm_struct *mm, unsigned long vmaddr)
pte_t *pte = pte_alloc_one_kernel(mm, vmaddr);
if (pte)
return virt_to_page(pte);
- return 0;
+ return NULL;
}
static inline void pte_free_kernel(pte_t *pte)