Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2351832pxb; Mon, 20 Sep 2021 19:48:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOT+Ua1qdSkZLP2HHQ3LYDQjLo9N5DhLJmdSSa28SM621JByz6OfsUcmWJ7Qay/MG+OInY X-Received: by 2002:a6b:6a08:: with SMTP id x8mr6847289iog.89.1632192498543; Mon, 20 Sep 2021 19:48:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632192498; cv=none; d=google.com; s=arc-20160816; b=qP1R2GQ3cS4b57fThI1/o7KeVMkn2kp8MvlhUMLxWnYsP7C/dR5cSpzaS4QMbWP7Iq VIrJXJ5di4dHtYZsyEBf6KcG0ZFCdQEjAlccyPmb+E7M/jWg9Yc+vA9YryP8nRp4njPY b8CujTAgFAXh6lj5FVLWVXkTuFY0yO7nUJqiaMx2Do9jrMBURWTxCqLtBHEezDj9vN97 3MvZQUktPd+Hda4AT6ks9RwgAOsLX+DXvm+KUnVvlOLhVhFnNSL9l3DlzUoKf28T3plZ sYcropJt1YMOjNX3DYeZ9CvdXBYj/TqBRADZbxS1sxr4+/uLJ+wrAWVn4VQYZ4mmbKp6 F6zA== 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=hiONDbfzhmmBQV2rl/OgLnH5k6qVpcp7ESM6nNayX494zsd9QVy+PmhptG3OPdz9hs KxcaMCdx+OlySGtYkmBAJ/gepqYMt1uNFlhTByApbQxgbTAUcGTKURP1nOckeHCu62iT 3cEvo0ZD1hodgwcU2Wgu0Vtlco1JkYds9MSgJFbw/F4Dj2B21HAnrS7Rh7SI+DnY1Hy/ FIix6J3Kp8OKDCN7UjawK6vW9CdyOoJDWfGmTEw63lf8aeuiAdDbl8EnM9a3MCmUO2LN 0qCYIbEJolVChL4wlKEqS/QsaJE0X4oJo/Pg8uUJeRJdpbNhP8KubIPJdmVZ4vNVwSfE pWBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2iHDfwCc; 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 g1si14028963jab.92.2021.09.20.19.48.07; Mon, 20 Sep 2021 19:48:18 -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=2iHDfwCc; 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 S1380061AbhITScM (ORCPT + 99 others); Mon, 20 Sep 2021 14:32:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:44480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378788AbhITS00 (ORCPT ); Mon, 20 Sep 2021 14:26:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CDEE561283; Mon, 20 Sep 2021 17:25:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158745; bh=uPKAT3YKWHt2IcxCoKpHMe+GaRVzNlVrPnJhuZgcJPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2iHDfwCcp/MkK7B6T8z7KYf93Riiz4thbjPY9VNx7UbSJm0iITX/fZ8N2vb280pCs d/2TNp1L0KFnREQGRIVojKPJxX+/0sURV3E8iFmLKg4ob/paRYydttbnnc+1p8geps Qr8cMz5P+I4X3hq+fwJYxz1NJ8JJye+k3oS2y3ok= 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.10 037/122] gen_compile_commands: fix missing sys package Date: Mon, 20 Sep 2021 18:43:29 +0200 Message-Id: <20210920163917.008142221@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163915.757887582@linuxfoundation.org> References: <20210920163915.757887582@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'