Skip to contentSkip to conversation

tcg/arm: Fix tcg_out_op function signature

PATCH In review Jose R. Ziviani 3 participants 3 messages Jun 10, 2021 – Jun 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcg/arm: Fix tcg_out_op function signature

Commit 5e8892db93 fixed several function signatures but tcg_out_op for arm is missing. This patch fixes it as well.

---
 tcg/arm/tcg-target.c.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tcg/arm/tcg-target.c.inc +2 -1
index f4c9cb8f9f..5157143246 100644
@@ -1984,7 +1984,8 @@ static void tcg_out_qemu_st(TCGContext *s, const TCGArg *args, bool is64)
 static void tcg_out_epilogue(TCGContext *s);
 
 static inline void tcg_out_op(TCGContext *s, TCGOpcode opc,
-                const TCGArg *args, const int *const_args)
+                const TCGArg args[TCG_MAX_OP_ARGS],
+                const int const_args[TCG_MAX_OP_ARGS])
 {
     TCGArg a0, a1, a2, a3, a4, a5;
     int c;
Signature · 1 line
2.31.1
#1 lore raw
Quoted 7 lines · Jose R. Ziviani

Commit 5e8892db93 fixed several function signatures but tcg_out_op for arm is missing. This patch fixes it as well.

---
  tcg/arm/tcg-target.c.inc | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

Thanks, queued.

r~

#2 lore raw
In reply to Jose R. Ziviani
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] tcg/arm: Fix tcg_out_op function signature

=== 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
From https://github.com/patchew-project/qemu
* [new tag] patchew/[email protected] -> patchew/[email protected]
* [new tag] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'

=== OUTPUT BEGIN ===
checkpatch.pl: no revisions returned for revlist 'base..' === OUTPUT END ===

Test command exited with code: 255

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]