lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 17 Aug 2017 08:12:26 +0800
From:   kbuild test robot <lkp@...el.com>
To:     mohamedalrshah <mohamed.a.alrshah@...e.org>
Cc:     kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
        torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
        "Mohamed A . Alrshah" <mohamed.a.alrshah@...e.org>,
        Mohamed Othman <mothman@....edu.my>,
        Borhanuddin Ali <borhan@....edu.my>,
        Zurina Hanapi <zurinamh@....edu.my>
Subject: Re: [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]

url:    https://github.com/0day-ci/linux/commits/mohamedalrshah/Adding-Agile-SD-TCP-module-and-modifying-Kconfig-and-makefile/20170817-055643
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # 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

    29	
    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	};
    37	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (60442 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ