* [zen:6.6/bbr3 1/1] net/ipv4/tcp_bbr.c:1315:5: warning: no previous prototype for 'bbr_ecn_cut'
@ 2023-11-01 20:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-01 20:17 UTC (permalink / raw)
To: steven; +Cc: oe-kbuild-all
tree: https://github.com/zen-kernel/zen-kernel 6.6/bbr3
head: 5d8376057790252b220d3a5eea2b628106f69d38
commit: 5d8376057790252b220d3a5eea2b628106f69d38 [1/1] tcp/bbr3: initial import
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20231102/202311020459.eJphPAd2-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231102/202311020459.eJphPAd2-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311020459.eJphPAd2-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> net/ipv4/tcp_bbr.c:1315:5: warning: no previous prototype for 'bbr_ecn_cut' [-Wmissing-prototypes]
1315 | u32 bbr_ecn_cut(struct sock *sk)
| ^~~~~~~~~~~
>> net/ipv4/tcp_bbr.c:2036:18: warning: no previous prototype for 'bbr_main' [-Wmissing-prototypes]
2036 | __bpf_kfunc void bbr_main(struct sock *sk, const struct rate_sample *rs)
| ^~~~~~~~
net/ipv4/tcp_bbr.c: In function 'bbr_main':
>> net/ipv4/tcp_bbr.c:2042:17: warning: variable 'round_delivered' set but not used [-Wunused-but-set-variable]
2042 | u32 bw, round_delivered;
| ^~~~~~~~~~~~~~~
vim +/bbr_ecn_cut +1315 net/ipv4/tcp_bbr.c
1313
1314 /* How should we multiplicatively cut bw or inflight limits based on ECN? */
> 1315 u32 bbr_ecn_cut(struct sock *sk)
1316 {
1317 struct bbr *bbr = inet_csk_ca(sk);
1318
1319 return BBR_UNIT -
1320 ((bbr->ecn_alpha * bbr_param(sk, ecn_factor)) >> BBR_SCALE);
1321 }
1322
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-01 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-01 20:17 [zen:6.6/bbr3 1/1] net/ipv4/tcp_bbr.c:1315:5: warning: no previous prototype for 'bbr_ecn_cut' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.