Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1082808ybl; Wed, 14 Aug 2019 10:24:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqBctExAQYN5Z1rt87TjjL092XRGmEPng/0Egh/2r49keVMObRdTOX9JVM3rpGaglihsoz X-Received: by 2002:a62:8343:: with SMTP id h64mr1022761pfe.170.1565803499451; Wed, 14 Aug 2019 10:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565803499; cv=none; d=google.com; s=arc-20160816; b=K2iIXuZ56qc36jvW3D0pRUn9qwxMp0Nk/V/o7Ex2+B/JKPnSFdgrF8VUy8ES/byxLs LVsHcjf26oDFQV8FCGVN0mTUrdemNh250vei3+hs5Thw39pA/JS6oXvSUTavGVCm7IMI +zO+NMemo5PxsD474mi8epD7NQ3YS/f+KlXnmgLqPROD7Cm0Kb92bDnxxa2h94sgNvR8 Im0/LxuvU2FU28myOoobL16DEglfmJHI9n3fPgj55QU3pLs7hA+xc8fiwt8+MzWXuQH3 YbA5GBlRk+fiiVGzFFlrG5RXmqd9tDkE9jjZU5q2G7uB1O6CJZ737PrKGaNsg5hKOK5Z uVAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fpHrVq/hey9dtzxVs3UfIM/Yjn+Td+PFc7PfbztR90s=; b=TfEy/rXEiSglS+jdgI+AvKt6qsU+M2Uf7W7ZiCXH+CuqZn7QXTv6jZ80n1+LD5T8Dm Gw1PYksGRqLMAwvoLJxenJ+M20Zvj24+lt9truxlkPBnpwfTHX+Zwz/VpQ0K5CcrS5+J KT7w4sLsXJqi+kdm4X29oBJfJ5V7UIsnaLdWQ/+rLWZRmNujQ387loMXM21vK6VuLSpK TEbRn2x0nFMVweLOWC8lw4NEkRFW4pfkOj9IvYfd0RNVkMONFRxBmlNAiMIR0hDKCS1d Zq7IbEe/sX3lD3PQ4/uvHSSNKCmlMWALmjusetvDnpf5/Nw5SH/iluWlIV9B15oZXXS5 IjRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2FeCKMVI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 30si241880pjz.30.2019.08.14.10.24.43; Wed, 14 Aug 2019 10:24:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2FeCKMVI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730055AbfHNRIG (ORCPT + 99 others); Wed, 14 Aug 2019 13:08:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:57854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730046AbfHNRID (ORCPT ); Wed, 14 Aug 2019 13:08:03 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7C359208C2; Wed, 14 Aug 2019 17:08:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802483; bh=lcMozOM5yjam6HkNiqU50QQ7u0Xe0A4WXIsFCJZkTMQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2FeCKMVITp6V9QlcbF8QGilrzEcGDPEWX7THq/nQHO3kWTmdJ5B/XP2RbtxBlnD9t SKDYnZQNqSQOsYSYKHtOeauNE9Qm/aUrM7xtuNzLk3XXYK9+Z8VQa3xBIK4yXOQT7Z hRJW345m9drFWxf0Z2gQ4mQ93vWOcyFLZg8InfZA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Masahiro Yamada , Sasha Levin Subject: [PATCH 5.2 117/144] gen_compile_commands: lower the entry count threshold Date: Wed, 14 Aug 2019 19:01:13 +0200 Message-Id: <20190814165804.824720229@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165759.466811854@linuxfoundation.org> References: <20190814165759.466811854@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit cb36955a5569f1ff17a42ae93264ef391c013a97 ] Running gen_compile_commands.py after building the kernel with allnoconfig gave this: $ ./scripts/gen_compile_commands.py WARNING: Found 449 entries. Have you compiled the kernel? Signed-off-by: Masahiro Yamada Signed-off-by: Sasha Levin --- scripts/gen_compile_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gen_compile_commands.py b/scripts/gen_compile_commands.py index 7915823b92a5e..c458696ef3a79 100755 --- a/scripts/gen_compile_commands.py +++ b/scripts/gen_compile_commands.py @@ -21,9 +21,9 @@ _LINE_PATTERN = r'^cmd_[^ ]*\.o := (.* )([^ ]*\.c)$' _VALID_LOG_LEVELS = ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] # A kernel build generally has over 2000 entries in its compile_commands.json -# database. If this code finds 500 or fewer, then warn the user that they might +# database. If this code finds 300 or fewer, then warn the user that they might # not have all the .cmd files, and they might need to compile the kernel. -_LOW_COUNT_THRESHOLD = 500 +_LOW_COUNT_THRESHOLD = 300 def parse_arguments(): -- 2.20.1