From: ally heev <allyheev@gmail.com>
To: kernel test robot <lkp@intel.com>,
Tony Nguyen <anthony.l.nguyen@intel.com>,
Przemek Kitszel <przemyslaw.kitszel@intel.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
"K. Y. Srinivasan" <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Wei Liu <wei.liu@kernel.org>, Dexuan Cui <decui@microsoft.com>
Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org,
intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org,
linux-hyperv@vger.kernel.org, Dan Carpenter <error27@gmail.com>
Subject: Re: [PATCH] net: ethernet: fix uninitialized pointers with free attr
Date: Thu, 06 Nov 2025 15:43:49 +0530 [thread overview]
Message-ID: <26b0845236aeeedae68b20765376e6acf3bb0e97.camel@gmail.com> (raw)
In-Reply-To: <202511061627.TYBaNPrX-lkp@intel.com>
On Thu, 2025-11-06 at 17:06 +0800, kernel test robot wrote:
> Hi Ally,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on c9cfc122f03711a5124b4aafab3211cf4d35a2ac]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Ally-Heev/net-ethernet-fix-uninitialized-pointers-with-free-attr/20251105-192022
> base: c9cfc122f03711a5124b4aafab3211cf4d35a2ac
> patch link: https://lore.kernel.org/r/20251105-aheev-uninitialized-free-attr-net-ethernet-v1-1-f6ea84bbd750%40gmail.com
> patch subject: [PATCH] net: ethernet: fix uninitialized pointers with free attr
> config: x86_64-randconfig-015-20251106 (https://download.01.org/0day-ci/archive/20251106/202511061627.TYBaNPrX-lkp@intel.com/config)
> compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251106/202511061627.TYBaNPrX-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/202511061627.TYBaNPrX-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> In file included from include/uapi/linux/posix_types.h:5,
> from include/uapi/linux/types.h:14,
> from include/linux/types.h:6,
> from include/linux/objtool_types.h:7,
> from include/linux/objtool.h:5,
> from arch/x86/include/asm/bug.h:7,
> from include/linux/bug.h:5,
> from include/linux/vfsdebug.h:5,
> from include/linux/fs.h:5,
> from include/linux/debugfs.h:15,
> from drivers/net/ethernet/microsoft/mana/gdma_main.c:4:
> drivers/net/ethernet/microsoft/mana/gdma_main.c: In function 'irq_setup':
> > > include/linux/stddef.h:8:14: error: invalid initializer
> 8 | #define NULL ((void *)0)
> | ^
> drivers/net/ethernet/microsoft/mana/gdma_main.c:1508:55: note: in expansion of macro 'NULL'
> 1508 | cpumask_var_t cpus __free(free_cpumask_var) = NULL;
> | ^~~~
>
>
> vim +8 include/linux/stddef.h
>
> ^1da177e4c3f41 Linus Torvalds 2005-04-16 6
> ^1da177e4c3f41 Linus Torvalds 2005-04-16 7 #undef NULL
> ^1da177e4c3f41 Linus Torvalds 2005-04-16 @8 #define NULL ((void *)0)
> 6e218287432472 Richard Knutsson 2006-09-30 9
Sorry. I think I messed up config somehow during build. Hence, couldn't
catch the error in local. Fixed in v2
prev parent reply other threads:[~2025-11-06 10:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-05 11:17 [PATCH] net: ethernet: fix uninitialized pointers with free attr Ally Heev
2025-11-06 9:06 ` kernel test robot
2025-11-06 10:13 ` ally heev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26b0845236aeeedae68b20765376e6acf3bb0e97.camel@gmail.com \
--to=allyheev@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=anthony.l.nguyen@intel.com \
--cc=davem@davemloft.net \
--cc=decui@microsoft.com \
--cc=edumazet@google.com \
--cc=error27@gmail.com \
--cc=haiyangz@microsoft.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=kuba@kernel.org \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@intel.com \
--cc=wei.liu@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).