diff --git a/linux-ramdump-parser-v2/linux_list.py b/linux-ramdump-parser-v2/linux_list.py index d7381c637a6ea41249bdd6ea21749f0590e84847..fe93ff94e5e8da7199ceac64712d46c3d557a7d1 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)