From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A30FC43219 for ; Mon, 20 Sep 2021 18:43:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8865C61359 for ; Mon, 20 Sep 2021 18:43:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383587AbhITSop (ORCPT ); Mon, 20 Sep 2021 14:44:45 -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'