From: Jan Glauber Date: Wed, 3 Aug 2011 14:44:18 +0000 (+0200) Subject: [S390] missing return in page_table_alloc_pgste X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=944291de33b26a8b403f13f5eb0cc51fb982aa1e;p=linux-beck.git [S390] missing return in page_table_alloc_pgste 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 --- 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)