[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL for-2.9 2/5] coccinelle: fix typo in comment
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PULL for-2.9 2/5] coccinelle: fix typo in comment |
Date: |
Wed, 7 Jun 2017 19:07:33 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
scripts/coccinelle/return_directly.cocci | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/coccinelle/return_directly.cocci
b/scripts/coccinelle/return_directly.cocci
index 48680f2..4cf50e7 100644
--- a/scripts/coccinelle/return_directly.cocci
+++ b/scripts/coccinelle/return_directly.cocci
@@ -1,4 +1,4 @@
-// replace 'R = X; return R;' with 'return R;'
+// replace 'R = X; return R;' with 'return X;'
@@
identifier VAR;
expression E;
--
2.9.4
- [Qemu-devel] [PULL for-2.9 0/5] Block patches, Stefan Hajnoczi, 2017/06/07
- [Qemu-devel] [PULL for-2.9 1/5] oslib: strip trailing '\n' from error_setg() string argument, Stefan Hajnoczi, 2017/06/07
- [Qemu-devel] [PULL for-2.9 2/5] coccinelle: fix typo in comment,
Stefan Hajnoczi <=
- [Qemu-devel] [PULL for-2.9 3/5] .gdbinit: load QEMU sub-commands when gdb starts, Stefan Hajnoczi, 2017/06/07
- [Qemu-devel] [PULL for-2.9 4/5] coroutine-lock: do not touch coroutine after another one has been entered, Stefan Hajnoczi, 2017/06/07
- [Qemu-devel] [PULL for-2.9 5/5] configure: split c and cxx extra flags, Stefan Hajnoczi, 2017/06/07
- Re: [Qemu-devel] [PULL for-2.9 0/5] Block patches, Peter Maydell, 2017/06/12