-------------
Date: Wed, 24 Apr 2019 03:38:39 +0800
From: kbuild test robot <[email protected]>
To: [email protected]
Cc: Julia Lawall <[email protected]>
Subject: [hwmon:hwmon-playground 130/134] drivers/hwmon/max6650.c:632:4-10: 
preceding lock on line 616

CC: [email protected]
CC: [email protected]
TO: Guenter Roeck <[email protected]>

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 <[email protected]>

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

Signed-off-by: Chen Rong <[email protected]>
---
 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 <[email protected]>"
+       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 <[email protected]>
-$(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 <[email protected]>
-
+$(
+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

Reply via email to