Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2353165pxb; Mon, 20 Sep 2021 19:51:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2rBQi8tcTrxk6Ei+buoz1HO11isDs8Sx4QiSJd+7rpM8V7dsairmcsln6n0LkrFbGC3Y9 X-Received: by 2002:a17:906:e01:: with SMTP id l1mr33157762eji.456.1632192663305; Mon, 20 Sep 2021 19:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632192663; cv=none; d=google.com; s=arc-20160816; b=twvJGthcl7sbty0gCBxes2SoY57otp3qBg7yLkwUzwCn8/vMZFl8yd6uptZXnKnmM/ 65EDvGEnpisxeMPt1daDMMjEAFzGhm9apWfMIOrd+YtIM0+pRd9aqVTfkmVuS76rMt+N 5VyV4WEy8yQ30ZoHlmGd+0lkuLV+gv9m1f4kBb/OOJRc5Fk34qdw8ML/QKlva/Wy1UHC BRaoF+2wv9h9dVoHJSnw95fsPEjy9JF6/TfqnGdbVc7vdC1/j2258uyb0S7wkQHpIkjU XIr8nv5bbHT56ZD3XGrOgmMW+Vq/prmxd0nEVGk4gzVGVPG+MP1cWD1dlEHosjtXd6DK MNYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=A+ig2WwFuR9g7ovCT43kWBlr40lLJ0IoGJHJV/FYbQc=; b=KENdcwBh6ZQFTlbtG54H1ihQD7+OymW5OvHcbiaNqhDrC5ikafv/2+/kvsStWZqA2b 3gxqLnRZGyHVMoDkoO3FMKqof3Qv5FfmwIlZtghy0mHS8vLgXllmUL3ofTx9kxgXyhOF tIJEDzImqzldsqFvshnE4P4DNj9Cg1fQWFY+gTa9/GBffJ5Vv7rbsLUARnJxcqD4/PLP JhoWYeHudn3qqiT6dzaN6V1Ij5BH2O34nvusS1QAgmTgvsJ/tkA0MRop5c6Yjop6mfGL bD05L4wF77+S8xIyzfXTl128KLVN4ysDWuYYLZE4lJ1SS40rbG9zt8QxEwxjMmYWGUwx upAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BxYDtIRx; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z28si16442947ejl.167.2021.09.20.19.50.40; Mon, 20 Sep 2021 19:51:03 -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=@linuxfoundation.org header.s=korg header.b=BxYDtIRx; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383573AbhITSoo (ORCPT + 99 others); Mon, 20 Sep 2021 14:44:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:56450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382336AbhITSkS (ORCPT ); Mon, 20 Sep 2021 14:40:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AC737614C8; Mon, 20 Sep 2021 17:31:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632159066; bh=uPKAT3YKWHt2IcxCoKpHMe+GaRVzNlVrPnJhuZgcJPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BxYDtIRxrC/qstJfscq8rTfxhPEyu3Z7mLCGAVO1JnGFTKFKsUlvgjB+tQ3Y/5vGm DdI3UI/j8tE2WwXldiiRrJABAlKaQuliMR0TCFFZ7GeRYO2CWxIb7ckrTlI4XZh/jh p/tqwavWUvAkuqMOQBqe/E1/ZlCCCXl9KO1zu+Mg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kortan , Nathan Chancellor , Masahiro Yamada Subject: [PATCH 5.14 059/168] gen_compile_commands: fix missing sys package Date: Mon, 20 Sep 2021 18:43:17 +0200 Message-Id: <20210920163923.580466564@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163921.633181900@linuxfoundation.org> References: <20210920163921.633181900@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kortan commit ec783c7cb2495c5a3b8ca10db8056d43c528f940 upstream. We need to import the 'sys' package since the script has called sys.exit() method. Fixes: 6ad7cbc01527 ("Makefile: Add clang-tidy and static analyzer support to makefile") Signed-off-by: Kortan Reviewed-by: Nathan Chancellor Signed-off-by: Masahiro Yamada Signed-off-by: Greg Kroah-Hartman --- scripts/clang-tools/gen_compile_commands.py | 1 + 1 file changed, 1 insertion(+) --- a/scripts/clang-tools/gen_compile_commands.py +++ b/scripts/clang-tools/gen_compile_commands.py @@ -13,6 +13,7 @@ import logging import os import re import subprocess +import sys _DEFAULT_OUTPUT = 'compile_commands.json' _DEFAULT_LOG_LEVEL = 'WARNING'