[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201608240214.MWEtb9iN%fengguang.wu@intel.com>
Date: Wed, 24 Aug 2016 02:49:56 +0800
From: kbuild test robot <lkp@...el.com>
To: Lorenzo Colitti <lorenzo@...gle.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org, eric.dumazet@...il.com,
dsa@...ulusnetworks.com, davem@...emloft.net,
Lorenzo Colitti <lorenzo@...gle.com>
Subject: Re: [PATCH net-next 1/2] net: diag: slightly refactor the
inet_diag_bc_audit error checks.
Hi Lorenzo,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Lorenzo-Colitti/net-diag-slightly-refactor-the-inet_diag_bc_audit-error-checks/20160824-020848
config: x86_64-randconfig-x015-201634 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
Note: the linux-review/Lorenzo-Colitti/net-diag-slightly-refactor-the-inet_diag_bc_audit-error-checks/20160824-020848 HEAD a2280f98a90602586a70251ad6f794ebe70f687a builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
net/ipv4/inet_diag.c: In function 'valid_markcond':
>> net/ipv4/inet_diag.c:712:21: error: invalid application of 'sizeof' to incomplete type 'struct inet_diag_markcond'
*min_len += sizeof(struct inet_diag_markcond);
^~~~~~
At top level:
net/ipv4/inet_diag.c:709:13: warning: 'valid_markcond' defined but not used [-Wunused-function]
static bool valid_markcond(const struct inet_diag_bc_op *op, int len,
^~~~~~~~~~~~~~
vim +712 net/ipv4/inet_diag.c
706 return true;
707 }
708
709 static bool valid_markcond(const struct inet_diag_bc_op *op, int len,
710 int *min_len)
711 {
> 712 *min_len += sizeof(struct inet_diag_markcond);
713 return len >= *min_len;
714 }
715
---
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/octet-stream" (31132 bytes)
Powered by blists - more mailing lists