From patchwork Wed Oct 28 00:42:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 7505851 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AE5799F36A for ; Wed, 28 Oct 2015 00:46:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D4F462053E for ; Wed, 28 Oct 2015 00:46:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0258B2053A for ; Wed, 28 Oct 2015 00:46:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754807AbbJ1Ami (ORCPT ); Tue, 27 Oct 2015 20:42:38 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:34704 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754735AbbJ1Amh (ORCPT ); Tue, 27 Oct 2015 20:42:37 -0400 Received: by padhk11 with SMTP id hk11so238186878pad.1 for ; Tue, 27 Oct 2015 17:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom_net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vsmXzu7kV5W35ajUV734Wiv/E9e5noWZWKKQn7GADxM=; b=xqfixqNNmvGsLdmTXjNupFU40f6cmHo8DfvmK6OO8m/9n5W/UFa6GYrPXJQuSHObXs 3aR3XT5dqFHsMAM9NboQ5ep4qliGK89f41k8kuCdLOIFLdi6ATrc8i7OhB7mZ9XhdoYd 9272Q19zOqVoLOcYLk2wwK1f/MCiZeGN5FYqE3fEyaj21v0yATETAnrNVWfELhn+ETJf bKknNPmWrZ0IuE75DxSsHItdGRr47CpuhEeLUcvMLczsf0yaALZhsZmlq0uUb+M2hbHg S1MJR7VsREAK/ATFD7U0O/I0DqcoxYAmJqW0xDWREWCbZGrmx9oqXttpYbOvdkx602eN TCmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vsmXzu7kV5W35ajUV734Wiv/E9e5noWZWKKQn7GADxM=; b=XLVjjCHxDX8g73VsJfgKChS8msiTV6o0ZEOP6ZMHIgzt8AMq0HVa23AFRUC3EAFeIs 2odzeHrhFkOH88uM2kLuKDzo3FSxjKZtvJ7Zyuf5Il4cFjgST1hm9jypIiq6DG+ymdI1 9v/9j7/ZooTy71foxNAOFdivNDtrcGdd9ptlnPUZIfBEV7ldVKq70Uc7ztp4tqkGnlTl pcYkvZ3Dj4VW9qN8MtwlDJVrAIU8F7A9EM2olkQJYCdnnz8mJPYZS+gIecwzxwYNcaF0 b1gfXA8RnAX6UkN2UkMxBxhLEs0gw4OSAuBsSMzN8oq55uW3UPrdrCPeUXAwGnE7NYqw PjOA== X-Gm-Message-State: ALoCoQkZZJkhJQ9wnHbqTcgkbfhXnV5z0ERriRCvdjC3kEKkA3u/RhybEyM0sW1SgV1KQAxR8tTF X-Received: by 10.66.146.3 with SMTP id sy3mr24894013pab.151.1445992956560; Tue, 27 Oct 2015 17:42:36 -0700 (PDT) Received: from localhost.localdomain ([58.123.138.250]) by smtp.gmail.com with ESMTPSA id t9sm41801385pbs.17.2015.10.27.17.42.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Oct 2015 17:42:35 -0700 (PDT) From: Olof Johansson To: Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, dvhart@linux.intel.com, Olof Johansson Subject: [PATCH 02/10] merge_config.sh: print warnings on stderr Date: Wed, 28 Oct 2015 09:42:03 +0900 Message-Id: <1445992931-28107-3-git-send-email-olof@lixom.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1445992931-28107-1-git-send-email-olof@lixom.net> References: <1445992931-28107-1-git-send-email-olof@lixom.net> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Makes it easier to grab just errors/warnings in a build log. Signed-off-by: Olof Johansson Reviewed-by: Darren Hart --- scripts/kconfig/merge_config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh index d8cd913..0e98619 100755 --- a/scripts/kconfig/merge_config.sh +++ b/scripts/kconfig/merge_config.sh @@ -131,7 +131,7 @@ for MERGE_FILE in $MERGE_LIST ; do echo Value of $CFG is redundant by fragment $MERGE_FILE: fi sed -i "/$CFG[ =]/d" $TMP_FILE - done + done >&2 cat $MERGE_FILE >> $TMP_FILE done @@ -168,7 +168,7 @@ for CFG in $(sed -n "$SED_CONFIG_EXP" $TMP_FILE); do echo "Requested value: $REQUESTED_VAL" echo "Actual value: $ACTUAL_VAL" echo "" - fi + fi >&2 done clean_up