Skip to contentSkip to conversation

lib-cmdlinec-declare-exported-symbols-immediately.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 24, 2014 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] lib-cmdlinec-declare-exported-symbols-immediately.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 11:01:35 -0800

The patch titled
Subject: lib/cmdline.c: declare exported symbols immediately
has been removed from the -mm tree. Its filename was
lib-cmdlinec-declare-exported-symbols-immediately.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Felipe Contreras <[email protected]>
Subject: lib/cmdline.c: declare exported symbols immediately

WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL(memparse);

WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL(get_option);

WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable +EXPORT_SYMBOL(get_options);

---

 lib/cmdline.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
lib/cmdline.c renamed from lib/cmdline.c~lib-cmdlinec-declare-exported-symbols-immediately +2 -0
diff -puN lib/cmdline.c~lib-cmdlinec-declare-exported-symbols-immediately lib/cmdline.c
@@ -67,6 +67,7 @@ int get_option(char **str, int *pint)
 
 	return 1;
 }
+EXPORT_SYMBOL(get_option);
 
 /**
  *	get_options - Parse a string into a list of integers
@@ -112,6 +113,7 @@ char *get_options(const char *str, int n
 	ints[0] = i - 1;
 	return (char *)str;
 }
+EXPORT_SYMBOL(get_options);
 
 /**
  *	memparse - parse a string with mem suffixes into a number
@@ -152,7 +154,4 @@ unsigned long long memparse(const char *
 
 	return ret;
 }