Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp622016rdb; Sun, 28 Jan 2024 01:16:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmNZIaaDIGjjiItZsQAvMf7wcMpgigw0A7aib0y41OvMdGcVNfFHHltjIooh+TAqacTGC2 X-Received: by 2002:ad4:5f86:0:b0:681:92b1:5409 with SMTP id jp6-20020ad45f86000000b0068192b15409mr3838347qvb.126.1706433393293; Sun, 28 Jan 2024 01:16:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706433393; cv=pass; d=google.com; s=arc-20160816; b=WvCdcuPVghty6BFZALS7yx+xzOeY3fwJqHCJ9SUUYJUegxU2ERyhu8NjPx8BKnEzZ2 3bWqKu9zOIbaTJXlAcfZObh3fBLrFOa3h3YoUQ4XWMRHJFRKf64947Sc6CNaZmSEfTJO 8xrRTLWV5k1F05scjqwA5j5oe6PeQXBA/quTblD0MAbHeOXdfrSrJRUO8FBVq7rZN+xN fGhEsGW2UR3RGIkXVSmHwCBU47atq36xKBIfvVhqg84bDNndqakNhBpTFIqMo8fxYSHS alUh6BJcEd8KFBPsMUfAQfjrKcNXiNqPBaTD3gGC+qupf8mBF9p1jRfBAIi8wJJ1gcYY MjCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=88EN92F3oMrOJvKcOuxUE4B7fY3xrJaLBHZoy8k29ck=; fh=Uh8z/nwm0O3MWuxgpVeBLR2Ygf6mJs66P01n8PrXbbs=; b=nO/K7JReJuXZMVyA5ZsLdNp0h3u60y3DjeUfYEz57CJG5kICbjSBLVLLYQGKqSCtvS bdhZiSmtHnAy/LpxdybZj63Ut3ju3vkLsxBMppaOH7E3JKTm6lI476uzliuvJWXFDRyo BlcfKe22VIlcquBJti5r9TwYWouUHtHaO/DdAT/Qo+B93RptTqhlsb1S6NB2CT5OvLK2 AVeWADT7C13xFnV11ktXLPxZWF9zK0o10Pi/CG6S3/0GsGi/vYTlzqWyzF4BN6tlKreC 0OOYJ+1AuXz24eGy9yrWmhpe6PEoOCloNGI6cbfrdYFrsibjZl5SKyRxyZNR3KzoUCea Z2Kg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=koIQtrwD; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-41574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fo6-20020ad45f06000000b0067ee3520aefsi69231qvb.151.2024.01.28.01.16.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 01:16:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=koIQtrwD; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-41574-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 05E261C211FD for ; Sun, 28 Jan 2024 09:16:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C114DF5C; Sun, 28 Jan 2024 09:16:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="koIQtrwD" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (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 AA13CDDDC for ; Sun, 28 Jan 2024 09:16:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706433386; cv=none; b=JllxxbRlU3I5CjOjL2YgfJnH2/V7bDHNNWUYPTsZZbgsUauDS+xHw0d74EF4BmHE7PJgr17bLf2EIH7J4foyFw5RfZ7F11e21wRIGywGq1e4oKVWGP66/rKgahhNfVwppfoVAKUA2XE/nMcL5tL6NLCFffmJr9UKNRHB9W5zqMo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706433386; c=relaxed/simple; bh=U6bM/YXGQHvL7BYUSpYT7hNJk6NMH0NIZ6WTX2w4dlM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=Ce5iGgIFU01hDxAeQ38ljwGjwXaYRyqKnxP8++YSsEQLrxuDwFz3nrxP0AZJ9Kyp6420BBc5MX6ftM+A3eFYB0J3XSlRpDRG/cdpgqAiHjmEQOHuAIpqp7w13EtH+FQ52rhtVR2wsQJl25ihMvO9lSFnU4NA+KCTlEuoA1zImEY= 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=koIQtrwD; arc=none smtp.client-ip=198.175.65.12 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706433385; x=1737969385; h=date:from:to:cc:subject:message-id:mime-version; bh=U6bM/YXGQHvL7BYUSpYT7hNJk6NMH0NIZ6WTX2w4dlM=; b=koIQtrwD4iemrXg81+AvGFfinMmZewBFu58DQdewXQOpo2ZEEtBsh1WP 2OU8xrB9ZYL8kyYNJ3V+zt/h/gM3gghDveRAi3dH8JoXPNIqBRR/4F8lq Yb6X92zMaCRr2v9QpaSmrB5xDvxGw45EGpyawVnIEcK6omu/DJSxapOIo SlnBtXCf6OiI/skxFh00yV/FBqgV949PQYV+vUMyiusCj0iVAjTX4z7NU 9PL+gCOug70akuR3z7TbEqrIxMKgJrQldIT6nxOx4fqK7vGHVJBpiBYOS ZFWWQexDeb5jP4Lepk7XudtufQX8TG/SsIy1r9IBNBiVtPYr6twZA0kIe A==; X-IronPort-AV: E=McAfee;i="6600,9927,10966"; a="10139577" X-IronPort-AV: E=Sophos;i="6.05,220,1701158400"; d="scan'208";a="10139577" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2024 01:16:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,220,1701158400"; d="scan'208";a="29229135" Received: from lkp-server01.sh.intel.com (HELO 370188f8dc87) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 28 Jan 2024 01:16:22 -0800 Received: from kbuild by 370188f8dc87 with local (Exim 4.96) (envelope-from ) id 1rU1H1-0003H0-2o; Sun, 28 Jan 2024 09:16:19 +0000 Date: Sun, 28 Jan 2024 17:15:40 +0800 From: kernel test robot To: Bartosz Golaszewski Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner Subject: [tip:irq/core 9/9] include/linux/compiler_attributes.h:76:41: error: expected expression before '__attribute__' Message-ID: <202401281754.1789C9HU-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 irq/core head: 590610d72a790458431cbbebc71ee24521533b5e commit: 590610d72a790458431cbbebc71ee24521533b5e [9/9] genirq/irq_sim: Shrink code by using cleanup helpers config: x86_64-rhel-8.3-bpf (https://download.01.org/0day-ci/archive/20240128/202401281754.1789C9HU-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401281754.1789C9HU-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/202401281754.1789C9HU-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/compiler_types.h:89, from : kernel/irq/irq_sim.c: In function 'irq_domain_create_sim': >> include/linux/compiler_attributes.h:76:41: error: expected expression before '__attribute__' 76 | #define __cleanup(func) __attribute__((__cleanup__(func))) | ^~~~~~~~~~~~~ include/linux/cleanup.h:64:25: note: in expansion of macro '__cleanup' 64 | #define __free(_name) __cleanup(__free_##_name) | ^~~~~~~~~ kernel/irq/irq_sim.c:173:19: note: in expansion of macro '__free' 173 | pending = __free(bitmap) = bitmap_zalloc(num_irqs, GFP_KERNEL); | ^~~~~~ vim +/__attribute__ +76 include/linux/compiler_attributes.h a3f8a30f3f0079 Miguel Ojeda 2018-08-30 71 54da6a0924311c Peter Zijlstra 2023-05-26 72 /* 54da6a0924311c Peter Zijlstra 2023-05-26 73 * gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-cleanup-variable-attribute 54da6a0924311c Peter Zijlstra 2023-05-26 74 * clang: https://clang.llvm.org/docs/AttributeReference.html#cleanup 54da6a0924311c Peter Zijlstra 2023-05-26 75 */ 54da6a0924311c Peter Zijlstra 2023-05-26 @76 #define __cleanup(func) __attribute__((__cleanup__(func))) 54da6a0924311c Peter Zijlstra 2023-05-26 77 :::::: The code at line 76 was first introduced by commit :::::: 54da6a0924311c7cf5015533991e44fb8eb12773 locking: Introduce __cleanup() based infrastructure :::::: TO: Peter Zijlstra :::::: CC: Peter Zijlstra -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki