the following patch was just integrated into master:
commit dc23a269060880f506ec56ca1dd3241a5a64e92d
Author: Patrick Rudolph <siro(a)das-labor.org>
Date: Mon Apr 25 12:19:39 2016 +0200
qemu-0.15.x/serialice-com: Return I/O errors
Return I/O erros to calling function.
Return -1 in serialice_write and serialice_read.
Change-Id: I168093eaad897f2998c055e46acd88fe6a263947
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
Reviewed-on: https://review.coreboot.org/14508
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See https://review.coreboot.org/14508 for details.
-gerrit
the following patch was just integrated into master:
commit 17d8e9034eb4607a02e00f3279ebbebd6c0fea51
Author: Patrick Rudolph <siro(a)das-labor.org>
Date: Mon Apr 25 12:17:55 2016 +0200
qemu-0.15.x/serialice: Fix compilation warnings
Include the required header to fix compiler warnings.
Change-Id: I39085719ca81fb4592138fc254ada6caaecb2fc7
Signed-off-by: Patrick Rudolph <siro(a)das-labor.org>
Reviewed-on: https://review.coreboot.org/14507
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
See https://review.coreboot.org/14507 for details.
-gerrit
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15061
-gerrit
commit 16fddc03ecb5be3741f35409b67805e55259b564
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Fri Jun 3 14:30:24 2016 +0300
Cleanup on walk_post_hooks
We always walk the complete list of post_hooks, as logging of the
operations happens at the end.
Also no return code from this function.
Change-Id: I5934174f4d4fc02764170c97fb518330beaeab74
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
SerialICE/simba/hooks.lua | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/SerialICE/simba/hooks.lua b/SerialICE/simba/hooks.lua
index fcb0912..2ce5f36 100644
--- a/SerialICE/simba/hooks.lua
+++ b/SerialICE/simba/hooks.lua
@@ -110,20 +110,18 @@ end
function walk_post_hooks(list, action)
if list == nil or list.list == nil then
- return false
+ return
end
- local logged = false
local l = list.list
local f = nil
- while l and not logged do
+ while l do
f = l.hook
if list.match_filter(f, action) then
if f.post and f.post(f, action) then
if not f.raw then
action.logged_post = f
end
- logged = false
end
end
l = l.next
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15060
-gerrit
commit fd7f712f743dc079ecda45c2cb3e82053ab18931
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Fri Jun 3 14:32:41 2016 +0300
Cleanup on walk_pre_hooks
Variable name was misleading, we do not log operations
until post hooks.
Also no return value from this function.
Change-Id: I48106f7b74c51f82374c525d69516d7ee68aa3c0
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
SerialICE/simba/hooks.lua | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/SerialICE/simba/hooks.lua b/SerialICE/simba/hooks.lua
index 49d937c..fcb0912 100644
--- a/SerialICE/simba/hooks.lua
+++ b/SerialICE/simba/hooks.lua
@@ -80,20 +80,20 @@ prev_filter = nil
function walk_pre_hooks(list, action)
if list == nil or list.list == nil then
- return false
+ return
end
- local logged = false
+ local found = false
local l = list.list
local f = nil
- while l and not logged do
+ while l and not found do
f = l.hook
if list.match_filter(f, action) then
if f.pre and f.pre(f, action) then
if not f.raw then
action.logged_pre = f
end
- logged = true
+ found = true
end
end
l = l.next