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
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
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
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.
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
; [-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.
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
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
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
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
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
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
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
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
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 -
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
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
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.
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.
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
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
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
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
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
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
25 matches
Mail list logo