From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD9B02DEA73 for ; Thu, 4 Dec 2025 10:47:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764845289; cv=none; b=JXpUJvD1tlXU64YXdFMb/BpzcZVwB4X3VUBbYvaPx1/t62CJxbuFNYALtTOA7VSKg7R4OI9ReiPlfKDgq7xupQ8ZOuMGFTuNKQESPnuWLmZBOVDxV9oJ0eDdKUvXBJ2hae6ez03JI135IXhszjJz7ZrxG6+0Jos9c+6UtL32nQ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764845289; c=relaxed/simple; bh=qei3l6IxWC3a7I4Zv7O9KzOBqyo6dURA6OIvHnUx7TQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=VfK9GWOO+ocMqWxPUAN/zyznsg/nBgK7QnxMq2VRW9GeqfI3gF84AOVdRUL/2kNteaTRRjTolNZq3wU5i0fyJ0j8j4GeoQZNMjmj3prq8gvJsbFxquoYuZ5Q5tNsYD+V5m7lhhihYPD5SHdLdQueAaS9lPT38T0kYKTnCtyAckg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=HHJeIyFn; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HHJeIyFn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764845280; x=1796381280; h=date:from:to:cc:subject:message-id:mime-version; bh=qei3l6IxWC3a7I4Zv7O9KzOBqyo6dURA6OIvHnUx7TQ=; b=HHJeIyFnYO/qKCpZqgcBVDPPsjdD5J5CXxuJp+OR832sXxC4AmNC5eO8 xH60M4MZr4RELnRBJCLA0QLmirp999cKJJ3c88OO00gvGfg05abhNlkMb U9nGLRx5G8QpZ70KYTVAk8ChvYVOiI5i4itTFbhiGhZRDQKjph1KZvGL2 X7UnmeYRvSP/AfwQB/CVPfl7oKuILjvJkA07D0UlPIeE4/qtPgQSw0phg vnFgqmG5wGJpxN2HFptLh3F4orXiTOOFLAiHYtOIDbnddf1lyPMOMqHAG Jb25v2ARPo9JN89BbeFmI+/UcfQlf2qxHNEHjnBblaUUA/vr0JLuXA7UZ g==; X-CSE-ConnectionGUID: Ilk1keyWQoKiRucw0RlthA== X-CSE-MsgGUID: MF1UXJPvREmh/GUiJTVe5w== X-IronPort-AV: E=McAfee;i="6800,10657,11631"; a="54408806" X-IronPort-AV: E=Sophos;i="6.20,248,1758610800"; d="scan'208";a="54408806" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2025 02:47:44 -0800 X-CSE-ConnectionGUID: 81slK0zbSyuIFpj3HoAfAQ== X-CSE-MsgGUID: 1Qf9ueKiR8KvPvRjjpkA8Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,248,1758610800"; d="scan'208";a="195364383" Received: from igk-lkp-server01.igk.intel.com (HELO 314ca7b3cca8) ([10.211.93.152]) by fmviesa009.fm.intel.com with ESMTP; 04 Dec 2025 02:47:43 -0800 Received: from kbuild by 314ca7b3cca8 with local (Exim 4.98.2) (envelope-from ) id 1vR6s8-000000000if-1zLi; Thu, 04 Dec 2025 10:47:40 +0000 Date: Thu, 4 Dec 2025 11:47:11 +0100 From: kernel test robot To: =?iso-8859-1?Q?Andr=E9?= Almeida Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner Subject: [tip:locking/futex 4/5] robust_list.c:522:24: warning: storing the address of local variable 'a' in 'head.list.next' Message-ID: <202512041141.cPM7Ow4I-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/futex head: c42ba5a87bdccbca11403b7ca8bad1a57b833732 commit: cd91b502f1b4bb81e82fbae38678c698ee5ac026 [4/5] selftests/futex: Create test for robust list config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251204/202512041141.cPM7Ow4I-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/20251204/202512041141.cPM7Ow4I-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202512041141.cPM7Ow4I-lkp@intel.com/ All warnings (new ones prefixed by >>): robust_list.c: In function 'child_circular_list': >> robust_list.c:522:24: warning: storing the address of local variable 'a' in 'head.list.next' [-Wdangling-pointer=] 522 | head.list.next = &a.list; | ~~~~~~~~~~~~~~~^~~~~~~~~ robust_list.c:513:28: note: 'a' declared here 513 | struct lock_struct a, b, c; | ^ robust_list.c:512:40: note: 'head' declared here 512 | static struct robust_list_head head; | ^~~~ -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki