* [PATCH 0/2] staging: Do not export static functions
@ 2015-10-24 17:18 Amitoj Kaur Chawla
2015-10-24 17:19 ` [PATCH 1/2] staging: lustre: ldlm: Do not export static function Amitoj Kaur Chawla
2015-10-24 17:21 ` [PATCH 2/2] staging: rtl8192u: ieee80211: " Amitoj Kaur Chawla
0 siblings, 2 replies; 3+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-24 17:18 UTC (permalink / raw)
To: outreachy-kernel
This patchset removes the export symbol for static functions.
The semantic patch used to find this is:
// <smpl>
@r@
type T;
identifier f;
@@
static T f (...) { ... }
@@
identifier r.f;
declarer name EXPORT_SYMBOL;
@@
-EXPORT_SYMBOL(f);
// </smpl>
Amitoj Kaur Chawla (2):
staging: lustre: ldlm: Do not export static function
staging: rtl8192u: ieee80211: Do not export static function
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 1 -
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 1 -
2 files changed, 2 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] staging: lustre: ldlm: Do not export static function
2015-10-24 17:18 [PATCH 0/2] staging: Do not export static functions Amitoj Kaur Chawla
@ 2015-10-24 17:19 ` Amitoj Kaur Chawla
2015-10-24 17:21 ` [PATCH 2/2] staging: rtl8192u: ieee80211: " Amitoj Kaur Chawla
1 sibling, 0 replies; 3+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-24 17:19 UTC (permalink / raw)
To: outreachy-kernel
Remove the export symbol for static function.
The semantic patch used to find this is:
// <smpl>
@r@
type T;
identifier f;
@@
static T f (...) { ... }
@@
identifier r.f;
declarer name EXPORT_SYMBOL;
@@
-EXPORT_SYMBOL(f);
// </smpl>
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
drivers/staging/lustre/lustre/ldlm/ldlm_pool.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
index a4ee591..b73cf6d 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
@@ -1005,7 +1005,6 @@ static int ldlm_pools_recalc(ldlm_side_t client)
}
return time;
}
-EXPORT_SYMBOL(ldlm_pools_recalc);
static int ldlm_pools_thread_main(void *arg)
{
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] staging: rtl8192u: ieee80211: Do not export static function
2015-10-24 17:18 [PATCH 0/2] staging: Do not export static functions Amitoj Kaur Chawla
2015-10-24 17:19 ` [PATCH 1/2] staging: lustre: ldlm: Do not export static function Amitoj Kaur Chawla
@ 2015-10-24 17:21 ` Amitoj Kaur Chawla
1 sibling, 0 replies; 3+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-24 17:21 UTC (permalink / raw)
To: outreachy-kernel
Remove the export symbol for static function.
The semantic patch used to find this is:
// <smpl>
@r@
type T;
identifier f;
@@
static T f (...) { ... }
@@
identifier r.f;
declarer name EXPORT_SYMBOL;
@@
-EXPORT_SYMBOL(f);
// </smpl>
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
index f2d09fe..30e11bb 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
@@ -417,7 +417,6 @@ static void ieee80211_send_probe_requests(struct ieee80211_device *ieee)
ieee80211_send_probe(ieee);
}
}
-EXPORT_SYMBOL(ieee80211_send_probe_requests);
/* this performs syncro scan blocking the caller until all channels
* in the allowed channel map has been checked.
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-24 17:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-24 17:18 [PATCH 0/2] staging: Do not export static functions Amitoj Kaur Chawla
2015-10-24 17:19 ` [PATCH 1/2] staging: lustre: ldlm: Do not export static function Amitoj Kaur Chawla
2015-10-24 17:21 ` [PATCH 2/2] staging: rtl8192u: ieee80211: " Amitoj Kaur Chawla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.