From patchwork Wed Apr 24 02:05:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chen, Rong A" X-Patchwork-Id: 10913967 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0AE3922 for ; Wed, 24 Apr 2019 02:05:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8411D289F5 for ; Wed, 24 Apr 2019 02:05:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7839C28A0D; Wed, 24 Apr 2019 02:05:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE7E0289F5 for ; Wed, 24 Apr 2019 02:05:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726918AbfDXCFT (ORCPT ); Tue, 23 Apr 2019 22:05:19 -0400 Received: from mga17.intel.com ([192.55.52.151]:51339 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726840AbfDXCFT (ORCPT ); Tue, 23 Apr 2019 22:05:19 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 19:05:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="145171324" Received: from shao2-debian.sh.intel.com (HELO localhost) ([10.239.13.107]) by orsmga003.jf.intel.com with ESMTP; 23 Apr 2019 19:05:16 -0700 From: Chen Rong To: LKP Developer , Philip Li Cc: Chen Rong , Julia Lawall , kbuild-all@01.org, linux-hwmon@vger.kernel.org Subject: [PATCH 0day-kernel-tests] lib/kbuild.sh: fix no reported-by for volunteers Date: Wed, 24 Apr 2019 10:05:42 +0800 Message-Id: <20190424020542.30921-1-rong.a.chen@intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ------------- Date: Wed, 24 Apr 2019 03:38:39 +0800 From: kbuild test robot To: kbuild@01.org Cc: Julia Lawall Subject: [hwmon:hwmon-playground 130/134] drivers/hwmon/max6650.c:632:4-10: preceding lock on line 616 CC: kbuild-all@01.org CC: linux-hwmon@vger.kernel.org TO: Guenter Roeck tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-playground head: 05d763050bbaa40daa4b60a3912c9311ca5791a5 commit: 77d270a1d4db919db0b02fec1d85ad5a57d556d7 [130/134] hwmon: (max6650) Convert to use devm_hwmon_device_register_with_info :::::: branch date: 6 hours ago :::::: commit date: 6 hours ago If you fix the issue, kindly add following tag Reported-by: kbuild test robot >> drivers/hwmon/max6650.c:632:4-10: preceding lock on line 616 ------------- Signed-off-by: Chen Rong --- lib/kbuild.sh | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/lib/kbuild.sh b/lib/kbuild.sh index e48fa079..4cb89104 100755 --- a/lib/kbuild.sh +++ b/lib/kbuild.sh @@ -6324,7 +6324,14 @@ add_cc_volunteer() local mail_address=$1 echo "CC: $mail_address" - REPORTED_BY+="Reported-by: $mail_address\n" + REPORTED_BY+="Reported-by: $mail_address"$'\n' +} + +email_reported_by_suggestion() +{ + echo "If you fix the issue, kindly add following tag" + echo "Reported-by: kbuild test robot " + echo "$REPORTED_BY" } email_header() @@ -7782,14 +7789,13 @@ send_email() cat > $email_file < -$(echo -e $REPORTED_BY) - +$( +email_header; +echo ""; +email_commit_info; +echo ""; +email_reported_by_suggestion +) $(email_errors) $(email_signature) @@ -9284,13 +9290,13 @@ email_checkpatch() LANG=en_US.UTF8 mailx -S sendmail=$C_ROOT/sendmail -t < - +$( +email_header; +echo ""; +email_commit_info; +echo ""; +email_reported_by_suggestion +) scripts/checkpatch.pl $(basename $patch) # many are suggestions rather than must-fix