Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp877188pxf; Wed, 7 Apr 2021 13:57:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCD0iQzj6hsCSwb56Xd8xHb9qPk2BN56AM50+Z4TG1Kc3zS58+ZqiBUgFkA9G9ghu02kIx X-Received: by 2002:a6b:b415:: with SMTP id d21mr4028717iof.149.1617829025516; Wed, 07 Apr 2021 13:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617829025; cv=none; d=google.com; s=arc-20160816; b=qwgFtsIqN3LIUs7t7k2pK0xoDMq6NttdGFsU9qUd7jzl3aNbMmGFoxwGZ6p3V6ePNw y1chn0LevTuWVSb2ZtagOGakO0ICQC4/WDcXZm73AY7QrPPFppYA2oKbqmKspUeXj+l8 EZ4RlvwmPfaMharx3jSh4MPRx1Tkq07+VvWCJautGFyJ3yGU58+TkxW/+aElQSorbV9c QVDY2l867wWS7QTxv8xrorPC31Vn2JRa/5wvohZxjRfhkHuTUAIMLLIOk2qSCRT9Ob23 7Sx78nfF+skCL/xQ4UQTq1T08DUYhTjiXl+FGF9R6MkkNwlGyYj1E7dcxEkOaDVeS5NW 2fAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FH2Q5rVpM1/neojk900lZ6GLJs64ZVvXVp6ndMfzNog=; b=oqS4YqPzhW5HDZt10Khpz3vxG/rM8DafMMKpZ1PMurOTrNTibokVegXW/hOGYY4P+b iVKec+AbmgGmxAypSL94ZGFSO2ihmT3JOdJ49wAiI5FgFX2qnhCqDUxUtRh+uFEk1lOz Dw+rZAvPtirsuAWAvzH64Ql2TpHYAOTeeAK3Fv/dHximJ0FqwVMWkHAUry+FQmygh5VF xMY7U13MRVRwMG18Wn2d+0SwqS/5xYtd9CKBOrfvOdvGMyy0KVjUISdb4VNsdG9YUwnE ktZszJRSxA3tbq86vX9T/TZdAUEyohwbeZaJhwdh9IletJUWmt8+qInSP3F06rGe9CS5 iGhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="YZ+sDJ/z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si544393ile.30.2021.04.07.13.56.53; Wed, 07 Apr 2021 13:57:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="YZ+sDJ/z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351975AbhDGMCt (ORCPT + 99 others); Wed, 7 Apr 2021 08:02:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238818AbhDGMCq (ORCPT ); Wed, 7 Apr 2021 08:02:46 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18FFFC06175F for ; Wed, 7 Apr 2021 05:02:37 -0700 (PDT) Received: from zn.tnic (p200300ec2f08fb0043d828d1ba5b6809.dip0.t-ipconnect.de [IPv6:2003:ec:2f08:fb00:43d8:28d1:ba5b:6809]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 9BD981EC0288; Wed, 7 Apr 2021 14:02:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1617796955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=FH2Q5rVpM1/neojk900lZ6GLJs64ZVvXVp6ndMfzNog=; b=YZ+sDJ/z1K0fJ5REDh2DL0vcqBn6Lk5oCgjRL1KmEwsi94Eq8kadvB99WZkhUWmYY2trMw a9T8IDUhW4h6gxQ8P6lyZ114uKQ6n9iYvT81dy3rRoSy/4wr8DQ5dZgR7xcYg7E3kmHeWd 0MZZRnvkKwYwwg1fP6zwqp0VT6Qe2FY= Date: Wed, 7 Apr 2021 14:02:39 +0200 From: Borislav Petkov To: Yang Li Cc: tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, hpa@zytor.com, nathan@kernel.org, ndesaulniers@google.com, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] x86/kernel: remove unneeded dead-store initialization Message-ID: <20210407120239.GD25319@zn.tnic> References: <1617177624-24670-1-git-send-email-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1617177624-24670-1-git-send-email-yang.lee@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 31, 2021 at 04:00:24PM +0800, Yang Li wrote: > make clang-analyzer on x86_64 defconfig caught my attention with: I can't trigger this here using: make CC=clang-11 -j16 clang-analyzer I get all kinds of missing python scripts: multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib/python3.9/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/usr/lib/python3.9/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) File "/mnt/kernel/kernel/linux/./scripts/clang-tools/run-clang-tools.py", line 54, in run_analysis p = subprocess.run(["clang-tidy", "-p", args.path, checks, entry["file"]], File "/usr/lib/python3.9/subprocess.py", line 501, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.9/subprocess.py", line 947, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1819, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'clang-tidy' """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/mnt/kernel/kernel/linux/./scripts/clang-tools/run-clang-tools.py", line 74, in main() File "/mnt/kernel/kernel/linux/./scripts/clang-tools/run-clang-tools.py", line 70, in main pool.map(run_analysis, datastore) File "/usr/lib/python3.9/multiprocessing/pool.py", line 364, in map return self._map_async(func, iterable, mapstar, chunksize).get() File "/usr/lib/python3.9/multiprocessing/pool.py", line 771, in get raise self._value FileNotFoundError: [Errno 2] No such file or directory: 'clang-tidy' make: *** [Makefile:1914: clang-analyzer] Error 1 -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette