Skip to contentSkip to conversation

Hexagon (target/hexagon) fix typo in comment

PATCH Applied Taylor Simpson 5 participants 6 messages Mar 15, 2021 – Apr 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Hexagon (target/hexagon) fix typo in comment

---
 target/hexagon/op_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/hexagon/op_helper.c +1 -1
index 9f19007..7361a07 100644
@@ -297,7 +297,7 @@ int32_t HELPER(fcircadd)(int32_t RxV, int32_t offset, int32_t M, int32_t CS)
 }
 
 /*
- * Hexagon FP operations return ~0 insteat of NaN
+ * Hexagon FP operations return ~0 instead of NaN
  * The hex_check_sfnan/hex_check_dfnan functions perform this check
  */
 static float32 hex_check_sfnan(float32 x)
Signature · 1 line
2.7.4
#1 lore raw
Patchew URL: https://patchew.org/QEMU/[email protected]/

Patchew URL: https://patchew.org/QEMU/[email protected]/

Hi,

This series seems to have some coding style problems. See output below for more information:

Type: series
Message-id: [email protected]
Subject: [PATCH] Hexagon (target/hexagon) fix typo in comment

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 Switched to a new branch 'test'
ffe0b01 Hexagon (target/hexagon) fix typo in comment

=== OUTPUT BEGIN ===
ERROR: Missing Signed-off-by: line(s)

total: 1 errors, 0 warnings, 8 lines checked

Commit ffe0b013056f (Hexagon (target/hexagon) fix typo in comment) has style problems, please review. If any of these errors are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
=== OUTPUT END ===

Test command exited with code: 1

The full log is available at
http://patchew.org/logs/[email protected]/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]

Reviewed-by on v1 1/1
#2 lore raw
In reply to Taylor Simpson
Quoted 1 line · Taylor Simpson

'git-commit -s' flag add the S-o-b line automatically ;)

Otherwise:

Quoted 18 lines
---
 target/hexagon/op_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/hexagon/op_helper.c +1 -1
index 9f19007..7361a07 100644
@@ -297,7 +297,7 @@ int32_t HELPER(fcircadd)(int32_t RxV, int32_t offset, int32_t M, int32_t CS)
 }
 
 /*
- * Hexagon FP operations return ~0 insteat of NaN
+ * Hexagon FP operations return ~0 instead of NaN
  * The hex_check_sfnan/hex_check_dfnan functions perform this check
  */
 static float32 hex_check_sfnan(float32 x)
#3 lore raw

Le 15/03/2021 à 10:28, Philippe Mathieu-Daudé a écrit :

Quoted 19 lines · Taylor Simpson
Quoted 1 line

'git-commit -s' flag add the S-o-b line automatically ;)

Otherwise:

Quoted 11 lines
---
 target/hexagon/op_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/hexagon/op_helper.c +0 -0
index 9f19007..7361a07 100644
@@ -297,7 +297,7 @@ int32_t HELPER(fcircadd)(int32_t RxV, int32_t offset, int32_t M, int32_t CS)
 }
 
Quoted 9 lines

target/hexagon/op_helper.c int32_t HELPER(fcircadd)(int32_t RxV, int32_t offset, int32_t M, int32_t CS) · line 303

Quoted 7 lines
target/hexagon/op_helper.c +1 -1
 /*
- * Hexagon FP operations return ~0 insteat of NaN
+ * Hexagon FP operations return ~0 instead of NaN
  * The hex_check_sfnan/hex_check_dfnan functions perform this check
  */
 static float32 hex_check_sfnan(float32 x)

Applied to my trivial-patches branch (with the fixed S-o-b)

Thanks,
Laurent