[PATCH] vme: fake: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
need a declaration, but can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/vme/bridges/vme_fake.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/vme/bridges/vme_fa

[PATCH] staging: rtl8192u: remove unused functions in r8192U_core.c

2016-09-23 Thread Baoyou Xie
-declarations] drivers/staging/rtl8192u/r8192U_core.c:1322:11: warning: no previous declaration for 'rtl8192_IsWirelessBMode' [-Wmissing-declarations] In fact, these functions are unused in r8192U_core.c, but should be removed. So this patch removes the unused functions. Signed-off-by: Baoyou Xie

[PATCH] staging: rtl8192u: ieee80211: ieee80211_softmac: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
and don't need a declaration, but can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff

[PATCH 1/2] Staging: ks7010: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/ks7010/ks7010_sdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 25ad43d..9

[PATCH 2/2] Staging: ks7010: remove unused function in ks_wlan_net.c

2016-09-23 Thread Baoyou Xie
-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/ks7010/ks_wlan_net.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index ee9c8f3..f1cd90e 100644 --- a/drivers/staging/ks7010/ks_wlan_net.c

[PATCH] staging: android: ion: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
, these functions are only used in the file in which they are declared and don't need a declaration, but can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/android/ion/ion_carveout_heap.c | 10 +- drivers/s

[PATCH] vme: mark symbols static where possible

2016-09-18 Thread Baoyou Xie
need a declaration, but can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/vme/bridges/vme_fake.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/vme/bridges/vme_fa

[PATCH] staging: lustre: lmv: add missing function declaration

2016-09-18 Thread Baoyou Xie
file. So this patch adds the declarations into drivers/staging/lustre/lustre/include/lustre_lmv.h. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/lustre/lustre/include/lustre_lmv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/lustre/lustre/i

[PATCH] staging: ks7010: move ks_wlan_hw_tx() declaration to header file

2016-09-18 Thread Baoyou Xie
be declared in a header file. thus can be recognized in other file. So this patch moves the declaration into drivers/staging/ks7010/ks_wlan.h. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/ks7010/ks_hostif.c | 5 - drivers/staging/ks7010/ks_wlan.h | 4 d

[PATCH] staging: ks7010: clean function declarations in ks_hostif.c up

2016-09-18 Thread Baoyou Xie
-prototypes] In fact, both functions are declared in drivers/staging/ks7010/ks_hostif.c, but should be declared in a header file, thus can be recognized in other file. So this patch adds the declarations into drivers/staging/ks7010/ks_wlan.h. Signed-off-by: Baoyou Xie <baoyou@linaro.

[PATCH] staging: ks7010: clean function declaration in ks_hostif.c up

2016-09-18 Thread Baoyou Xie
can be recognized in other file. So this patch moves the declaration into drivers/staging/ks7010/ks_wlan.h. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/ks7010/ks_hostif.c | 1 - drivers/staging/ks7010/ks_wlan.h | 2 ++ 2 files changed, 2 insertions(+), 1 de

[PATCH] staging: lustre: clean function declaration in super25.c up

2016-09-17 Thread Baoyou Xie
into a header file, thus can be recognized in other file. So this patch moves the declaration into drivers/staging/lustre/lnet/selftest/console.h Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/lustre/lnet/selftest/console.c | 2 -- drivers/staging/lustre/lnet/selftest/console

[PATCH] staging/lustre: clean function declaration in super25.c up

2016-09-17 Thread Baoyou Xie
, but should be moved into a header file, thus can be recognized in other file. So this patch moves the declaration into drivers/staging/lustre/lustre/include/lprocfs_status.h. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/lustre/lustre/include/lprocfs_status.h | 3 +++ d

[PATCH] staging: lustre: obdclass: clean function declarations in obd_config.c and class_obd.c up

2016-09-17 Thread Baoyou Xie
are declared in drivers/staging/lustre/lustre/obdclass/class_obd.c, but all of these functions should be declared in a header file, thus can be recognized in other file. So this patch moves the declarations into drivers/staging/lustre/lustre/include/obd_class.h. Signed-off-by: Baoyou Xie <bao

[PATCH] staging/lustre: clean function declaration in cl_io.c up

2016-09-17 Thread Baoyou Xie
in a header file. thus can be recognized in other file. So this patch moves the declaration into drivers/staging/lustre/lustre/include/cl_object.h. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/lustre/lustre/include/cl_object.h | 2 ++ drivers/staging/lustre/lustre/ob

[PATCH] staging: lustre: lmv: mark symbols static where possible

2016-09-17 Thread Baoyou Xie
' [-Wmissing-prototypes] In fact, these functions are only used in the file in which they are declared and don't need a declaration, but can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/lustre/lust

[PATCH v2] staging: lustre: clean function declarations in class_obd.c up

2016-09-15 Thread Baoyou Xie
/obd_class.h. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/lustre/lustre/include/obd_class.h | 2 ++ drivers/staging/lustre/lustre/obdclass/class_obd.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/obd_clas

[PATCH] staging: lustre: clean function declarations in class_obd.c up

2016-09-15 Thread Baoyou Xie
/obd_class.h. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/lustre/lustre/include/obd_class.h | 4 drivers/staging/lustre/lustre/obdclass/class_obd.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/obd_c

[PATCH] staging: ks7010: mark symbols static where possible

2016-09-08 Thread Baoyou Xie
marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/ks7010/ks7010_sdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index b7337fd..4

[PATCH] staging/lustre/lov: add missing header dependencies

2016-09-08 Thread Baoyou Xie
-prototypes] drivers/staging/lustre/lustre/lov/lov_object.c:979:5: warning: no previous prototype for 'lov_read_and_clear_async_rc' [-Wmissing-prototypes] In fact, these functions are declared in ../llite/vvp_internal.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie <bao

[PATCH] staging/lustre/obdclass: add missing header dependencies

2016-09-08 Thread Baoyou Xie
dependencies. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c b/drivers/staging/lustre/lustre/obdclass/linux/linux-sy

[PATCH] staging: media: omap4iss: mark omap4iss_flush() static

2016-09-04 Thread Baoyou Xie
this patch marks this function with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/media/omap4iss/iss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c index 6

[PATCH] Staging: rtl8192e: mark symbols static where possible

2016-09-04 Thread Baoyou Xie
of this driver up, but we can repress these warnings first, then clean it up. so this patch marks these functions with 'static' now. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/rtl8192e/rtllib_softmac.c | 41 +++ 1 file changed, 26 insertions(

[PATCH] staging: ks7010: mark symbols static where possible

2016-09-04 Thread Baoyou Xie
' [-Wmissing-prototypes] In fact, these functions are only used in the file in which they are declared and don't need a declaration, but can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/ks7010/ks_hostif

[PATCH] staging/android: mark sync_timeline_create() static

2016-09-03 Thread Baoyou Xie
. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie <baoyou@linaro.org> --- drivers/staging/android/sw_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c index 115c917..9