From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 99EF8A28 for ; Wed, 23 Mar 2022 14:45:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=NZieXrV52xxOwWM+2C++7uGR7V7p5CAJ1QVgA1I8UHQ=; b=SzATp9DTNoVTZVzAJu+HQRMkLv XrzqSa/a3Ugtxcdt4lFg9lKr4hTKjrCKvp0V7R5wlAsYx1LiEfxWyV/ts1sEBsS6blqyo7VArvpzG gjb/FaoWzTqmB/Dqg0ZO7FQvZIlG8m3um8wdcFIXcnAeY3dy3eEOl7bVSb++5OFyMUvaheqbNlKlb HGdSpXTQTTWdv6Nsg0mr13TkHUqLpvLq2SpLUOljBh+Ep2iLgaIqOcvv1Ab/3POJE+H7bncGGdS3h aP4a7YH/M+d6QkjYF4xQwUgzlC8/TybHMVkrmqvZZwApnuTHjSIIUemtHvqlgCah+lqNiTPnUYblO GcmPHiqQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nX2En-003n45-6K; Wed, 23 Mar 2022 14:45:25 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 07E0E30007E; Wed, 23 Mar 2022 15:45:22 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D65E4200BC309; Wed, 23 Mar 2022 15:45:22 +0100 (CET) Date: Wed, 23 Mar 2022 15:45:22 +0100 From: Peter Zijlstra To: Nick Desaulniers Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, kernel test robot , Mark Rutland Subject: Re: [peterz-queue:locking/core 17/19] arch/x86/kvm/x86.h:29:30: error: too many arguments to function call, expected 0, have 1 Message-ID: References: <202203191213.tC0sjaY7-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Mar 21, 2022 at 10:51:29AM -0700, Nick Desaulniers wrote: > On Fri, Mar 18, 2022 at 9:10 PM kernel test robot wrote: > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core > > head: 200a79c670d24d4d9a75a6a9cbfd14af2f5d0ad9 > > commit: 5c9f3806a4400c2957abeea9419547f856457a20 [17/19] lockdep: Fix -Wunused-parameter for _THIS_IP_ > > config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20220319/202203191213.tC0sjaY7-lkp@intel.com/config) > > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6e70e4056dff962ec634c5bd4f2f4105a0bef71) > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=5c9f3806a4400c2957abeea9419547f856457a20 > > git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git > > git fetch --no-tags peterz-queue locking/core > > git checkout 5c9f3806a4400c2957abeea9419547f856457a20 > > # save the config file to linux build tree > > mkdir build_dir > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > In file included from arch/x86/kvm/x86.c:22: > > In file included from arch/x86/kvm/mmu.h:7: > > In file included from arch/x86/kvm/cpuid.h:5: > > >> arch/x86/kvm/x86.h:29:30: error: too many arguments to function call, expected 0, have 1 > > lockdep_hardirqs_on_prepare(CALLER_ADDR0); > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~ > > Peter, I think you dropped the hunk to include/linux/kvm_host.h when > applying this patch? > Someone moved that function to arch/x86/kvm/x86.h which is why it went sideways when I resolved it. Should hopefully be fixed now, lemme go do a few builds before I push out.