[PATCH -next] mm, slub: make function parse_slub_debug_flags() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix sparse build warning:

mm/slub.c:1267:6: warning:
 symbol 'parse_slub_debug_flags' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
---
 mm/slub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/slub.c b/mm/slub.c
index 62d2de56549e..cd260f18e6cb 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1264,7 +1264,7 @@ static noinline int free_debug_processing(
  *
  * returns the start of next block if there's any, or NULL
  */
-char *
+static char *
 parse_slub_debug_flags(char *str, slab_flags_t *flags, char **slabs, bool init)
 {
 	bool higher_order_disable = false;





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux