Linux-Hwmon Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0day-kernel-tests] lib/kbuild.sh: fix no reported-by for volunteers
@ 2019-04-24  2:05 Chen Rong
  0 siblings, 0 replies; only message in thread
From: Chen Rong @ 2019-04-24  2:05 UTC (permalink / raw)
  To: LKP Developer, Philip Li; +Cc: Chen Rong, Julia Lawall, kbuild-all, linux-hwmon

-------------
Date: Wed, 24 Apr 2019 03:38:39 +0800
From: kbuild test robot <lkp@intel.com>
To: kbuild@01.org
Cc: Julia Lawall <julia.lawall@lip6.fr>
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 <linux@roeck-us.net>

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 <lkp@intel.com>

>> drivers/hwmon/max6650.c:632:4-10: preceding lock on line 616
-------------

Signed-off-by: Chen Rong <rong.a.chen@intel.com>
---
 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 <lkp@intel.com>"
+	echo "$REPORTED_BY"
 }
 
 email_header()
@@ -7782,14 +7789,13 @@ send_email()
 	cat > $email_file <<EOF
 Message-ID: $message_id
 $(email_subject)
-$(email_header)
-
-$(email_commit_info)
-
-If you fix the issue, kindly add following tag
-Reported-by: kbuild test robot <lkp@intel.com>
-$(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 <<EOF
 $(email_subject)
-$(email_header)
-
-$(email_commit_info)
-
-If you fix the issue, kindly add following tag
-Reported-by: kbuild test robot <lkp@intel.com>
-
+$(
+email_header;
+echo "";
+email_commit_info;
+echo "";
+email_reported_by_suggestion
+)
 scripts/checkpatch.pl $(basename $patch)
 # many are suggestions rather than must-fix
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-24  2:05 [PATCH 0day-kernel-tests] lib/kbuild.sh: fix no reported-by for volunteers Chen Rong

Linux-Hwmon Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-hwmon/0 linux-hwmon/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-hwmon linux-hwmon/ https://lore.kernel.org/linux-hwmon \
		linux-hwmon@vger.kernel.org linux-hwmon@archiver.kernel.org
	public-inbox-index linux-hwmon


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-hwmon


AGPL code for this site: git clone https://public-inbox.org/ public-inbox