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
| ||
|
Date: Wed, 8 Jul 2020 03:15:45 +0000 From: "Xia, Hui" <hui.xia@...el.com> To: Edward Cree <ecree@...arflare.com>, lkp <lkp@...el.com>, "linux-net-drivers@...arflare.com" <linux-net-drivers@...arflare.com>, "davem@...emloft.net" <davem@...emloft.net> CC: "kbuild-all@...ts.01.org" <kbuild-all@...ts.01.org>, "netdev@...r.kernel.org" <netdev@...r.kernel.org> Subject: RE: [kbuild-all] Re: [PATCH net-next 03/15] sfc_ef100: skeleton EF100 PF driver >-----Original Message----- >From: Edward Cree <ecree@...arflare.com> >Sent: 2020年7月8日 2:35 >To: lkp <lkp@...el.com>; linux-net-drivers@...arflare.com; >davem@...emloft.net >Cc: kbuild-all@...ts.01.org; netdev@...r.kernel.org >Subject: [kbuild-all] Re: [PATCH net-next 03/15] sfc_ef100: skeleton EF100 PF >driver > >On 04/07/2020 05:16, kernel test robot wrote: >>>> drivers/net/ethernet/sfc/ptp.c:1442:1-4: alloc with no test, >>>> possible model on line 1457 >This one's a false positive, see below: Sorry for inconvenient. Please ignore this warning. We will double check for this type of warning. Thanks. >> vim +1442 drivers/net/ethernet/sfc/ptp.c >> >> 5d0dab01175bff0 Ben Hutchings 2013-10-16 1434 >> ac36baf817c39fc Ben Hutchings 2013-10-15 1435 /* Initialise PTP state. */ >> ac36baf817c39fc Ben Hutchings 2013-10-15 1436 int efx_ptp_probe(struct >efx_nic *efx, struct efx_channel *channel) >> 7c236c43b838221 Stuart Hodgson 2012-09-03 1437 { >> 7c236c43b838221 Stuart Hodgson 2012-09-03 1438 struct efx_ptp_data >*ptp; >> 7c236c43b838221 Stuart Hodgson 2012-09-03 1439 int rc = 0; >> 7c236c43b838221 Stuart Hodgson 2012-09-03 1440 unsigned int pos; >> 7c236c43b838221 Stuart Hodgson 2012-09-03 1441 >> 7c236c43b838221 Stuart Hodgson 2012-09-03 @1442 ptp = >kzalloc(sizeof(struct efx_ptp_data), GFP_KERNEL); >We allocate ptp... >> 7c236c43b838221 Stuart Hodgson 2012-09-03 1443 efx->ptp_data = ptp; >... assign it to efx->ptp_data... >> 7c236c43b838221 Stuart Hodgson 2012-09-03 1444 if (!efx->ptp_data) >> 7c236c43b838221 Stuart Hodgson 2012-09-03 1445 return - >ENOMEM; >... which we then test. > >So by here... >> 7c236c43b838221 Stuart Hodgson 2012-09-03 @1457 ptp->workwq = >create_singlethread_workqueue("sfc_ptp"); >... we know ptp is non-NULL. > >-ed >_______________________________________________ >kbuild-all mailing list -- kbuild-all@...ts.01.org To unsubscribe send an email to >kbuild-all-leave@...ts.01.org
Powered by blists - more mailing lists