drivers/media/dvb-frontends/cx24120.c:806:6: sparse: symbol 'cx24120_calculate_ber_window' was not declared. Should it be static?
Subsystems (2)
kbuild test robot
build bottree: git://linuxtv.org/media_tree.git master head: 2a80f296422a01178d0a993479369e94f5830127 commit: ddcb252e41c15b360c0e9a172fbd29d3f0ed18cd [1013/1029] [media] cx24120: Add in dvbv5 stats for bit error rate reproduce: # apt-get install sparse git checkout ddcb252e41c15b360c0e9a172fbd29d3f0ed18cd make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/media/dvb-frontends/cx24120.c:806:6: sparse: symbol 'cx24120_calculate_ber_window' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
kbuild test robot
build bot[PATCH linuxtv-media] cx24120: cx24120_calculate_ber_window() can be static
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by Fengguang Wu <[email protected]>
--- cx24120.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb-frontends/cx24120.c +1 -1
@@ -803,7 +803,7 @@ static int cx24120_get_fec(struct dvb_frontend *fe) }/* Calculate ber window time */ -void cx24120_calculate_ber_window (struct cx24120_state *state,u32 rate) +static void cx24120_calculate_ber_window (struct cx24120_state *state,u32 rate) {struct dvb_frontend *fe = &state->frontend;struct dtv_frontend_properties *c = &fe->dtv_property_cache;