commit | d2c993d845781d160a7ef759a3e65c6892c4a270 | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Wed Jul 12 16:41:55 2006 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Jul 12 16:41:55 2006 +0200 |
tree | f63be38ab83363282c519048849663201f664818 | |
parent | 7e560814de1972e1bfc780616841d7a0032ca467 [diff] [blame] |
[S390] Fix sparse warnings. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
diff --git a/include/asm-s390/pgalloc.h b/include/asm-s390/pgalloc.h index 3002fda..a78e853 100644 --- a/include/asm-s390/pgalloc.h +++ b/include/asm-s390/pgalloc.h
@@ -142,7 +142,7 @@ 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)