From e30a9ecc6bcb72e76726fe987e4ab9c70c68b2ef Mon Sep 17 00:00:00 2001 From: Jan Glauber Date: Wed, 27 Jul 2011 07:58:21 +0200 Subject: [PATCH] [S390] missing return in page_table_alloc_pgste MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix the following compile warning for !CONFIG_PGSTE: CC arch/s390/mm/pgtable.o arch/s390/mm/pgtable.c: In function ‘page_table_alloc_pgste’: arch/s390/mm/pgtable.c:531:1: warning: no return statement in function returning non-void [-Wreturn-type] Signed-off-by: Jan Glauber Signed-off-by: Heiko Carstens --- arch/s390/mm/pgtable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c index 2adb23938a7f..4d1f2bce87b3 100644 --- a/arch/s390/mm/pgtable.c +++ b/arch/s390/mm/pgtable.c @@ -528,6 +528,7 @@ static inline void page_table_free_pgste(unsigned long *table) static inline unsigned long *page_table_alloc_pgste(struct mm_struct *mm, unsigned long vmaddr) { + return NULL; } static inline void page_table_free_pgste(unsigned long *table) -- 2.39.5