From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 397EE30DEBD for ; Thu, 6 Nov 2025 10:13:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762424042; cv=none; b=QjWSLYUAV2/6+b0POccghWVhCHUFh3ZUYm7wa3uL38p6aYSW/aGCR1vNeu2sf8s0p+vK6sn3N6iXKe/SFxHFQtu6v5wOWe1i292NgKG23EEksYxVSPwHX6PJcoQgIdJ0Sa/bDFGMC9mwZX5CtpTLbOVrIzrlgIDgB0pJp0L/N5o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762424042; c=relaxed/simple; bh=3g6OwqvUvgOuE0sVQ1tvj2/4v52gpeHEPrmCnel5VNw=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=EYSqu3sQ4IHDclCiu5dkwp+Gp+lgPvCtr8T6/33xfK9pkV6nMr4XFupmli0fnujmJOdPfp22vQnrlnR3PwGGmqYrDfUaNPhAh+3e9kaeX+pMABKxEqUeGdJSk6LNGPF9PDQbR1dnvitZRE84oL95FEZfwY+Kiea6tNUrTHauu7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fOa9ZqL8; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fOa9ZqL8" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-781ea2cee3fso817704b3a.0 for ; Thu, 06 Nov 2025 02:13:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762424038; x=1763028838; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=XVferEyN4+RzXvE7eehEmFRfQazqGQ49nTw3vZt6WP4=; b=fOa9ZqL89qNKkCAz8jQYoADmdLmc1LtqIlsCaUEVxK9YS6x3ZBOhldjv8rDDuf4yvf GhQbPWIX2m8kSLQ7HAZseTB5Tsg8lrSzVTXqPO6aKqiboFeCiC/C58qBa79f2wiRhApB Vtn93e1Kp3oVPkrv9lMvvJ764fw6z8Qw+jLMlOTPSSnRkVdLgp702zIwJszfsM8okrrQ lb/B90zsPEt2Pavga6L2LHM4EV5/3yu2v9PQl7rKjsEyVbRwFpA1CIa9IMvSZ+E6nbRq 1ZV8WZ8uXOBdPxRAxkfAI+rxq4KzGAElTBNzHGFzZuX/yRQsZAVr9/XNQy+seOD2PJNM qqVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762424038; x=1763028838; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XVferEyN4+RzXvE7eehEmFRfQazqGQ49nTw3vZt6WP4=; b=XvWJ3Gql/yMB55k2Xr/1dVtfeBTpgWpzbYD6ApmVDZvcpIYF6bFDG1WhH57T0rRT1b 7T3i5aqNPOmapcDb4jO93yfIJQLGSr/aa4ZS+bcxcZWxH+DEemp30y0ZQGuwII5zGenF /eO5NXCJUFcHak4Sbbn5fMY94mStFvL1o2qemA34LrHLRKq2v4Zo/rGVBAmrCGiB1qaQ zoclcgLKAZ49AN5uNX89R2m4LQ7dRe6YcJjnAyYenCSV5NpbKnuCM8govJSFJ2UEvGXS xQgW6JhGVgpitTFlhhn6nxwVApeob40JgF8TJPBWIwL0xERTwWDnRCY9MCiwTuDGQmhm CDZg== X-Forwarded-Encrypted: i=1; AJvYcCW1Ne8AoBzdfwAiT2/TPcbsQSGugJxssewURfuAzr3Gf67M0UhhfdvA98YYh10J7+DSRqCfKzQVno/aKso=@vger.kernel.org X-Gm-Message-State: AOJu0Yxl+oc+t31c5ZmKV7jwMhN0g4Adzt4XIVQ4zhskeziMbkLI5Ijx D2n03YzSmSb+wKR7e0YxUu7aEZ/uB0KNw2w0JwiAujCwaO7foSe+gClX X-Gm-Gg: ASbGncuEkI/CvICIFtq7n0CmlxGyVXYjmNsRdQXVmW4xZibgA9IG6DNkN8KWD9x9KPs YsiRYpA3pmHHHMqD6LjSKV1BcyL0H8Ln5uYlzkZqsCPwoya9bIesaM5u9tr8n4EbD9dKvTT48BO 1xuEiwZUhUaBqTPVrRS4yBHA4w1b3Ij5pWZ+6Nas9SMTXaQ4D9mqnIloqdoTtmBEiSyVOMlKX61 auqfR0GyubUMdvjBB8uMgTOybY4ksSuvpAKUwhgNz+74iIRXoK4Y4PM6t6r9vnDY/3j/i9L4Hmp CV/2mOZXY3HvQIZggpj8kmeoQhkcB2xKGy4n2tXXPjeaWaLkKBiMx8briVHrYcOnIYMQz0o0oEW aQ/JqdqNZMcEsBUtfGB0onrn3f3i+yyp3BbAV4NKl1CPGCiZqjuPCeBkX6oQo25rOQ2e3xvUdOi PiqGoqOK9SmFustQTTmYtje15JwkYoK+cTWuV+ngwlkQsDs+3d X-Google-Smtp-Source: AGHT+IHFm4f4DIfuJZeWFWHECmS607MVUrzEbqxwY7bBNABCSqwm+nfFI94x/cfAN4hYxfUSU4FFIA== X-Received: by 2002:a05:6a00:2e0d:b0:792:574d:b12 with SMTP id d2e1a72fcca58-7ae1d7350a5mr8116654b3a.10.1762424038444; Thu, 06 Nov 2025 02:13:58 -0800 (PST) Received: from ?IPv6:2401:4900:88f4:f6c4:5041:b658:601d:5d75? ([2401:4900:88f4:f6c4:5041:b658:601d:5d75]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7af825fbc63sm2270481b3a.49.2025.11.06.02.13.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Nov 2025 02:13:58 -0800 (PST) Message-ID: <26b0845236aeeedae68b20765376e6acf3bb0e97.camel@gmail.com> Subject: Re: [PATCH] net: ethernet: fix uninitialized pointers with free attr From: ally heev To: kernel test robot , Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui 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 Date: Thu, 06 Nov 2025 15:43:49 +0530 In-Reply-To: <202511061627.TYBaNPrX-lkp@intel.com> References: <20251105-aheev-uninitialized-free-attr-net-ethernet-v1-1-f6ea84bbd750@gmail.com> <202511061627.TYBaNPrX-lkp@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.1-1+deb13u1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2025-11-06 at 17:06 +0800, kernel test robot wrote: > Hi Ally, >=20 > kernel test robot noticed the following build errors: >=20 > [auto build test ERROR on c9cfc122f03711a5124b4aafab3211cf4d35a2ac] >=20 > url: https://github.com/intel-lab-lkp/linux/commits/Ally-Heev/net-ethe= rnet-fix-uninitialized-pointers-with-free-attr/20251105-192022 > base: c9cfc122f03711a5124b4aafab3211cf4d35a2ac > patch link: https://lore.kernel.org/r/20251105-aheev-uninitialized-fre= e-attr-net-ethernet-v1-1-f6ea84bbd750%40gmail.com > patch subject: [PATCH] net: ethernet: fix uninitialized pointers with fre= e attr > config: x86_64-randconfig-015-20251106 (https://download.01.org/0day-ci/a= rchive/20251106/202511061627.TYBaNPrX-lkp@intel.com/config) > compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 > reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archi= ve/20251106/202511061627.TYBaNPrX-lkp@intel.com/reproduce) >=20 > If you fix the issue in a separate patch/commit (i.e. not just a new vers= ion of > the same patch/commit), kindly add following tags > > Reported-by: kernel test robot > > Closes: https://lore.kernel.org/oe-kbuild-all/202511061627.TYBaNPrX-lkp= @intel.com/ >=20 > All errors (new ones prefixed by >>): >=20 > 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_setu= p': > > > 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 expa= nsion of macro 'NULL' > 1508 | cpumask_var_t cpus __free(free_cpumask_var) =3D NULL; > | ^~~~ >=20 >=20 > vim +8 include/linux/stddef.h >=20 > ^1da177e4c3f41 Linus Torvalds 2005-04-16 6 =20 > ^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 =20 Sorry. I think I messed up config somehow during build. Hence, couldn't catch the error in local. Fixed in v2