In fact, these functions are declared in
drivers/gpu/drm/tilcdc/tilcdc_tfp410.h,
drivers/gpu/drm/tilcdc/tilcdc_panel.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 +
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 +
2 file
be made static.
So this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index 4405e4b..1d26bc9 100
bug' [-Wmissing-prototypes]
In fact, these functions are unused in
dbx500-prcmu.c, but should be removed.
So this patch removes the unused functions.
Signed-off-by: Baoyou Xie
---
drivers/regulator/dbx500-prcmu.c | 18 --
1 file changed, 18 deletions(-)
diff --git a/driv
ognized in other file.
So this patch adds the declaration into
drivers/regulator/dbx500-prcmu.h.
Signed-off-by: Baoyou Xie
---
drivers/regulator/dbx500-prcmu.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/regulator/dbx500-prcmu.h b/drivers/regulator/dbx500-prc
ers/ras/debugfs.c:53:13: warning: no previous prototype for
'ras_debugfs_init' [-Wmissing-prototypes]
In fact, these functions are declared in linux/ras.h, so this patch
adds the missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/ras/debugfs.c | 1 +
1 file changed
; [-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.
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
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.
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
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
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
We get 1 warning when building kernel with W=1:
drivers/usb/core/hcd.c:2390:5: warning: no previous prototype for
'usb_bus_start_enum' [-Wmissing-prototypes]
In fact, these functions are declared in linux/usb/otg.h, so this patch
adds the missing header dependencies.
Signed-off-by:
be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/usb/host/xhci-ring.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 797137e..9cf70c9 1006
sing-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/scsi/pm8001/pm8001_hwi.c | 4 ++--
drivers
; [-Wmissing-prototypes]
drivers/scsi/bfa/bfad_bsg.c:220:1: warning: no previous prototype for
'bfad_iocmd_iocfc_get_attr' [-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 sta
sing-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/scsi/pm8001/pm80xx_hwi.c | 7 ---
rototypes]
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/block/drbd/drbd_main.c | 3 ++-
driver
ned-off-by: Baoyou Xie
---
drivers/char/random.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index d6876d5..aa0950a 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -262,6 +262,7 @@
#include
#include
#include
+#include
made static.
So this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/crypto/sunxi-ss/sun4i-ss-hash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
b/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
index 1afeb8e..0de
ing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/clk/versatile/clk-realview.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/versatile/clk-realview.c
b/drivers/clk/versatile/clk-realview.c
index c56efc7..f662fd1 100644
--- a/drivers/clk/versatile/clk-realview.c
+++ b/d
static.
So this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/dma-buf/sw_sync.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma-buf/sw_sync.c b/drivers/dma-buf/sw_sync.c
index 62e8e6d..6f16c85 100644
--- a/drivers/dma-buf/sw_sync.c
+++ b/
se two functions are incorrectly declared in a function.
So this patch moves function declarations out of this function.
Signed-off-by: Baoyou Xie
---
drivers/dma/virt-dma.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h
in
/pxa-dma.h.
Signed-off-by: Baoyou Xie
---
include/linux/dma/pxa-dma.h | 1 ++
1 file changed, 1 insertions(+)
diff --git a/include/linux/dma/pxa-dma.h b/include/linux/dma/pxa-dma.h
index 3edc992..1823257 100644
--- a/include/linux/dma/pxa-dma.h
+++ b/include/linux/dma/pxa-dma.h
@@ -
We get 1 warning when building kernel with W=1:
drivers/dma/imx-sdma.c:673:13: warning: 'sdma_handle_channel_loop' defined but
not used [-Wunused-function]
In fact, this function is called by no one and not exported,
so this patch removes it.
Signed-off-by: Baoyou Xie
---
drive
ing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/firmware/broadcom/bcm47xx_sprom.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/broadcom/bcm47xx_sprom.c
b/drivers/firmware/broadcom/bcm47xx_sprom.c
index 62aa3cf..3471b86 100644
--- a/drivers/firmwar
this patch moves the function declaration
to include/linux/hsi/hsi.h.
Signed-off-by: Baoyou Xie
---
drivers/hsi/clients/ssi_protocol.c | 2 --
include/linux/hsi/hsi.h| 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/hsi/clients/ssi_protocol.c
b/drivers/h
fact, these functions need be declare in some header files.
So this patch adds function declarations in
drivers/isdn/hardware/eicon/di_defs.h,
drivers/isdn/hardware/eicon/capifunc.h,
drivers/isdn/hardware/eicon/xdi_adapter.h.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hardware/eicon/capifunc.c
s.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hardware/eicon/diva.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/isdn/hardware/eicon/diva.c
b/drivers/isdn/hardware/eicon/diva.c
index 9693add..ad32552 100644
--- a/drivers/isdn/hardware/eicon/diva.c
+++ b/drivers/isdn/hardware/ei
So this patch adds function declarations in drivers/isdn/hisax/hisax.h.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hisax/config.c | 60 -
drivers/isdn/hisax/hisax.h | 60 +
2 files changed, 60 insertions(+
d in other file.
So this patch moves the declaration into drivers/isdn/hisax/hscx.h.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hisax/elsa_ser.c | 2 +-
drivers/isdn/hisax/hscx.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/isdn/hisax/elsa_ser.c b/drivers/
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/isdn/mISDN/layer2.c | 44 ++--
1 file changed, 22 insertions(+), 22 deletions
We get 1 warning when building kernel with W=1:
drivers/isdn/mISDN/layer2.c:463:1: warning: no previous declaration for 'IsRR'
[-Wmissing-declarations]
In fact, this function is called by no one and not exported,
so this patch removes it.
Signed-off-by: Baoyou Xie
---
drivers/
pendencies.
Signed-off-by: Baoyou Xie
---
drivers/media/platform/coda/coda-h264.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/coda/coda-h264.c
b/drivers/media/platform/coda/coda-h264.c
index 456773a..6d6f555 100644
--- a/drivers/media/platform/coda/coda-h264.c
+++
stick/host/r592.h.
Signed-off-by: Baoyou Xie
---
drivers/memstick/host/r592.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/memstick/host/r592.h b/drivers/memstick/host/r592.h
index c5726c1..c5d91cd 100644
--- a/drivers/memstick/host/r592.h
+++ b/drivers/memstick/host/r592.h
aration in
include/linux/mfd/abx500/ab8500.h.
Signed-off-by: Baoyou Xie
---
include/linux/mfd/abx500/ab8500.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mfd/abx500/ab8500.h
b/include/linux/mfd/abx500/ab8500.h
index 9475fee..a496120 100644
--- a/include/linux/mfd/abx500/ab85
We get 1 warning when building kernel with W=1:
drivers/mfd/ab8500-debugfs.c:1395:6: warning: no previous prototype for
'ab8500_dump_all_banks_to_mem' [-Wmissing-prototypes]
In fact, this function is called by no one and not exported,
so this patch removes it.
Signed-off-by:
_oed_txbias_desc' [-Wmissing-prototypes]
drivers/scsi/lpfc/lpfc_els.c:4838:1: warning: no previous prototype for
'lpfc_rdp_res_oed_txpower_desc' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declarati
/mvsas/mv_64xx.c:566:6: warning: no previous prototype for
'mvs_64xx_make_prd' [-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 'stati
ch 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/scsi/megaraid/megaraid_sas_base.c | 6 ++--
drivers/scsi/megaraid/megaraid_sas_fp.c | 30 ++---
dr
In fact, these functions are declared in
drivers/scsi/megaraid/megaraid_sas_fusion.c, but should be
declared in a header file. thus can be recognized in other file.
So this patch moves the declarations into
drivers/scsi/megaraid/megaraid_sas.h.
Signed-off-by: Baoyou Xie
---
drivers/scsi/megar
7; [-Wmissing-prototypes]
In fact, these functions are declared in
drivers/scsi/megaraid/megaraid_sas_base.c, but should be
declared in a header file. thus can be recognized in other file.
So this patch moves the declarations into
drivers/scsi/megaraid/megaraid_sas.h.
Signed-off-by: Baoyou Xie
-
totype for 'ixgbe_led_off_t_x550em' [-Wmissing-prototypes]
In fact, these two 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/net/et
d a declaration, but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/intel/igb/igb_ethtool.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c
b/d
pes]
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/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +-
drivers/ne
lled
by no one, thus can be removed.
So this patch removes the unused functions.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 122 -
1 file changed, 122 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
b/d
dev/volt/priv.h,
drivers/gpu/drm/nouveau/nvkm/core/firmware.h,
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.h,
drivers/gpu/drm/nouveau/dispnv04/disp.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/nouveau/dispnv04/overlay.c | 1 +
drivers/gpu/drm/nouve
We get 1 warning when building kernel with W=1:
drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c:49:1: warning: no previous
prototype for 'g94_sor_output_new' [-Wmissing-prototypes]
In fact, this function is called by no one and not exported,
so this patch removes it.
Signed-off-by:
27; [-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/gpu/drm/nouveau/nouv
In fact, these functions are declared in
drivers/gpu/drm/tilcdc/tilcdc_tfp410.h,
drivers/gpu/drm/tilcdc/tilcdc_panel.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 +
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 +
2 file
ck' [-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/gpu/drm/tilcdc/tilcdc_drv.c
roy_plane_state' [-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/gpu/drm/arm/malidp_pl
buf' [-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/gpu/drm/armada/armada
but can be made static.
So this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/bochs/bochs_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/bochs/bochs_kms.c
b/drivers/gpu/drm/bochs/bochs_kms.c
index 207a2cb..0b4e5d1 100
totype for 'analogix_dp_detect' [-Wmissing-prototypes]
In fact, both 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 both functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm
prototypes]
In fact, both 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 both functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 9 +
1 file
totype for 'rockchip_drm_fbdev_fini' [-Wmissing-prototypes]
In fact, these functions are declared
in drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 1 +
1 file changed, 1 insert
prototypes]
In fact, both 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 both functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/mediatek/mtk_hdmi.c | 9 +
1 file
p_drm_fb_resume' [-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/gpu/drm/rockchip/
sing-prototypes]
In fact, both functions are declared in
drivers/gpu/drm/msm/adreno/adreno_device.c, but should be declared in
a header file. So this patch moves both function declarations to
drivers/gpu/drm/msm/adreno/adreno_gpu.h.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/msm/adreno
prototypes]
In fact, both functions are declared in drivers/gpu/drm/msm/msm_debugfs.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/msm/msm_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/msm/msm_debugfs.c
b
but can be made static.
So this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/exynos/exynos_dp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/exynos/exynos_dp.c
b/drivers/gpu/drm/exynos/exynos_dp.c
index 4f08505..528229f 100
nd don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/sti/sti_drv.c | 2 +-
drivers/gpu/drm/sti/sti_dvo.c | 3 ++-
drivers/gpu/drm/sti/sti_gdp.c | 2 +-
drivers/gpu/drm/sti/sti_hq
but can be made static.
So this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index 9798d40..8bf6611 100
ivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h,
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h,
drivers/gpu/drm/amd/powerplay/eventmgr/eventtasks.h.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/amd/powerplay/eventmgr/eventtasks.h | 2 ++
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h|
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/gpu/drm/amd/powerplay/amd_powerplay.c | 6 +-
drivers/gpu
/amd/amdgpu/../powerplay/hwmgr/iceland_hwmgr.c:1154:9: warning:
no previous prototype for 'iceland_get_voltage_index' [-Wmissing-prototypes]
In fact, these functions are called by no one and not exported,
so this patch removes them.
Signed-off-by: Baoyou Xie
---
.../drm/amd/powe
md/powerplay/inc/pp_acpi.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | 1 +
1 files changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/pp
27; [-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/gpu/drm/amd/amdgpu/amd
way, we amend the declaration of amdgpu_gfx_parse_disable_cu().
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c| 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h| 3 ++-
drivers/gpu/drm/amd/amdgpu/atombios_crtc.c | 1 +
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 1 +
d
parameter_async' [-Wmissing-prototypes]
In fact, both functions are called by no one and not exported,
so this patch removes them.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 8
drivers/gpu/drm/amd/amdgpu/cz_smc.c| 7 ---
2 files changed, 1
pu/drm/amd/amdgpu/amdgpu.h.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 6a75a4
n.
Signed-off-by: Baoyou Xie
---
drivers/rtc/rtc-jz4740.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c
index 5e14651..4788cc0 100644
--- a/drivers/rtc/rtc-jz4740.c
+++ b/drivers/rtc/rtc-jz4740.c
@@ -203,13 +203,6 @@ static i
emac_drv_resume' [-Wmissing-prototypes]
In fact, these two 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/net/ethernet/h
made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hip04_eth.c
b/drivers/net/ethernet/hisilicon/
_link_ksettings' [-Wmissing-prototypes]
In fact, these two 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/net/ethernet/marve
eclaration, but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xx
gs' [-Wmissing-prototypes]
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:735:5: warning: no previous
prototype for 'hns_ae_get_regs_len' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration,
gs' [-Wmissing-prototypes]
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:735:5: warning: no previous
prototype for 'hns_ae_get_regs_len' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration,
these functions are defined in the
macro 'INTERVAL_TREE_DEFINE' in include/linux/interval_tree_generic.h
and don't need a declaration, but can be made static.
so this patch marks these functions with 'static' by modifying
the macro.
Signed-off-by: Baoyou Xie
---
drivers/vho
pes]
In fact, these two 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/tty/serial/stm32-usart.c | 7 ---
1 file ch
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/scsi/be2iscsi/be_main.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/driv
totype for 'rockchip_drm_fbdev_fini' [-Wmissing-prototypes]
In fact, these functions are declared
in drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 1 +
1 file changed, 1 insert
ne_set_property' [-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/gpu/drm/msm/mdp/mdp4/mdp4
p_drm_fb_resume' [-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/gpu/drm/rockchip/
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/gpu/drm/sti/sti_dvo.c | 3 ++-
drivers/gpu/
ck' [-Wmissing-prototypes]
In fact, these functions are declared in qed_selftest.h, so this patch
add missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/qlogic/qed/qed_selftest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/qlogic/qe
otypes]
drivers/net/ethernet/qlogic/qed/qed_sriov.c:2762:5: warning: no previous
prototype for 'qed_iov_vf_flr_cleanup' [-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.
static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/irqchip/irq-gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index c2cab57..6f8d322 100644
--- a/drivers/irqchi
ng-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/net/ethernet/qlogic/qed/qed_dcbx.c | 9 +++
but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/qlogic/qede/qede_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c
b/drivers/net/etherne
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
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
static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/vhost/vhost.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index c6f2d89..bf045ac 100644
--- a/drivers/vhost/vhost.c
++
; [-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/gpu/drm/radeon/radeon_dp_mst.c | 8 +++
atch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/sun4i/sun4i_dotclock.c| 1 +
drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 1 +
drivers/gpu/drm/sun4i/sun4i_rgb.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/sun4i/sun4i_do
static.
So this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/vc4/vc4_bo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/vc4/vc4_bo.c b/drivers/gpu/drm/vc4/vc4_bo.c
index 59adcf8..3f6704c 100644
--- a/drivers/gpu/drm/vc4/v
In fact, these functions are declared in
drivers/gpu/drm/tilcdc/tilcdc_tfp410.h,
drivers/gpu/drm/tilcdc/tilcdc_panel.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 +
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 +
2 file
aration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
b/drive
missing-prototypes]
In fact, these functions are declared
in drivers/gpu/drm/radeon/radeon_asic.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/gpu/drm/radeon/atombios_encoders.c | 1 +
drivers/gpu/drm/radeon/evergreen_cs.c
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.
1 - 100 of 435 matches
Mail list logo