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

2016-09-23 Thread Baoyou Xie
ile 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 --- drivers/vme/bridges/vme_fake.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

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

2016-09-23 Thread Baoyou Xie
ate' [-Wmissing-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 functio

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

2016-09-23 Thread Baoyou Xie
ly 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 --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 16 ++-- 1 file changed, 10 ins

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

2016-09-23 Thread Baoyou Xie
t can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie --- 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.

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

2016-09-23 Thread Baoyou Xie
n. Signed-off-by: Baoyou Xie --- 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 +++ b/drivers/stag

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

2016-09-23 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 --- drivers/staging/android/ion/ion_carveout_heap.

[PATCH] vme: mark symbols static where possible

2016-09-18 Thread Baoyou Xie
ile 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 --- drivers/vme/bridges/vme_fake.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

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

2016-09-18 Thread Baoyou Xie
d in other file. So this patch adds the declarations into drivers/staging/lustre/lustre/include/lustre_lmv.h. Signed-off-by: Baoyou Xie --- drivers/staging/lustre/lustre/include/lustre_lmv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/lustre/lustre/include/lustre_lmv.h

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

2016-09-18 Thread Baoyou Xie
should 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 --- drivers/staging/ks7010/ks_hostif.c | 5 - drivers/staging/ks7010/ks_wlan.h | 4 drivers/stag

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

2016-09-18 Thread Baoyou Xie
ave' [-Wmissing-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 --- dr

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

2016-09-18 Thread Baoyou Xie
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 --- drivers/staging/ks7010/ks_hostif.c | 1 - drivers/staging/ks7010/ks_wlan.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

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

2016-09-17 Thread Baoyou Xie
ved 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 --- drivers/staging/lustre/lnet/selftest/console.c | 2 -- drivers/staging/lustre/lnet/selftest/console.h | 1 + 2 files

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

2016-09-17 Thread Baoyou Xie
r25.c, 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 --- drivers/staging/lustre/lustre/include/lprocfs_status.h | 3 +++ drivers/staging/lus

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

2016-09-17 Thread Baoyou Xie
c, and the other two functions 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

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

2016-09-17 Thread Baoyou Xie
moved 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 --- drivers/staging/lustre/lustre/include/cl_object.h | 2 ++ drivers/staging/lustre/lustre/obdclass/cl_io.c| 2 -

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

2016-09-17 Thread Baoyou Xie
7;lmv_read_page' [-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 --- drivers/stagi

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

2016-09-15 Thread Baoyou Xie
ustre/lustre/include/obd_class.h. Signed-off-by: Baoyou Xie --- 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_class.h b/dr

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

2016-09-15 Thread Baoyou Xie
ustre/lustre/include/obd_class.h. Signed-off-by: Baoyou Xie --- 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_class.

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

2016-09-08 Thread Baoyou Xie
t can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie --- 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.

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

2016-09-08 Thread Baoyou Xie
put' [-Wmissing-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 dependenci

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

2016-09-08 Thread Baoyou Xie
ing header dependencies. Signed-off-by: Baoyou Xie --- 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-sysctl.c index 8f70dd

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

2016-09-03 Thread Baoyou Xie
made static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- 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 6ceb

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

2016-09-03 Thread Baoyou Xie
o clean the codes 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 --- drivers/staging/rtl8192e/rtllib_softmac.c | 41 +++ 1 file changed, 26 insertion

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

2016-09-03 Thread Baoyou Xie
re_set2_request' [-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 --- drivers/staging/ks7010/ks_h

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

2016-09-02 Thread Baoyou Xie
be made static. so this patch marks this function with 'static'. Signed-off-by: Baoyou Xie --- 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..99a