[lkml]   [2017]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Adding-Agile-SD-TCP-module-and-modifying-Kconfig-and-makefile
Hi mohamedalrshah,

[auto build test ERROR on net/master]
[also build test ERROR on v4.13-rc5 next-20170816]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> net//ipv4/tcp_agilesd.c:35:15: error: expected identifier before numeric constant
enum dystate{SS=0, CA=1} agilesd_tcp_status;
net//ipv4/tcp_agilesd.c: In function 'agilesdtcp_cong_avoid':
net//ipv4/tcp_agilesd.c:87:28: error: 'CA' undeclared (first use in this function)
ca->agilesd_tcp_status = CA;
net//ipv4/tcp_agilesd.c:87:28: note: each undeclared identifier is reported only once for each function it appears in
net//ipv4/tcp_agilesd.c: In function 'agilesdtcp_recalc_ssthresh':
net//ipv4/tcp_agilesd.c:121:32: error: 'CA' undeclared (first use in this function)
if (ca->agilesd_tcp_status == CA)
net//ipv4/tcp_agilesd.c: At top level:
net//ipv4/tcp_agilesd.c:169:16: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.pkts_acked = agilesdtcp_acked,
net//ipv4/tcp_agilesd.c:169:16: note: (near initialization for 'agilesdtcp.pkts_acked')
cc1: some warnings being treated as errors

vim +35 net//ipv4/tcp_agilesd.c

30 /* Agile-SD Parameters */
31 struct agilesdtcp {
32 u32 loss_cwnd; /* congestion window at last loss.*/
33 u32 frac_tracer; /* This is to trace the fractions of the increment.*/
34 u32 degraded_loss_cwnd; /* loss_cwnd after degradation.*/
> 35 enum dystate{SS=0, CA=1} agilesd_tcp_status;
36 };

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2017-08-17 02:13    [W:0.087 / U:1.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site