Selaa lähdekoodia

kbuild: add missing return statement in modpost.c:secref_whitelist()

Noticed by: Magnus Damm <magnus@valinux.co.jp>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Sam Ravnborg 19 vuotta sitten
vanhempi
commit
93659af1ce
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      scripts/mod/modpost.c

+ 1 - 0
scripts/mod/modpost.c

@@ -627,6 +627,7 @@ static int secref_whitelist(const char *modname, const char *tosec,
 		    (strcmp(tosec, ".init.text") == 0))
 		    (strcmp(tosec, ".init.text") == 0))
 		return 1;
 		return 1;
 	}
 	}
+	return 0;
 }
 }
 
 
 /**
 /**