From 46401503913c4a735f8d1ba916b2227e94891ba8 Mon Sep 17 00:00:00 2001 From: Ankur Bansal <ankban@codeaurora.org> Date: Thu, 5 Oct 2017 15:58:42 +0530 Subject: [PATCH] lrdp_v2 : fix list walk function in linux_list.py fix list walk function in linux_list.py Change-Id: I78edb68c57c6623fca39266d30342688e1a5cf44 --- linux-ramdump-parser-v2/linux_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-ramdump-parser-v2/linux_list.py b/linux-ramdump-parser-v2/linux_list.py index d7381c6..fe93ff9 100644 --- a/linux-ramdump-parser-v2/linux_list.py +++ b/linux-ramdump-parser-v2/linux_list.py @@ -1,4 +1,4 @@ -# Copyright (c) 2013-2014, 2016, The Linux Foundation. All rights reserved. +# Copyright (c) 2013-2014, 2016-2017, The Linux Foundation. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 and @@ -78,7 +78,7 @@ class ListWalker(object): return while True: - if node_addr == 0: + if node_addr == 0 or node_addr == None : break funcargs = [node_addr - self.list_elem_offset] + list(args) -- GitLab