wrong comparison with None

This commit is contained in:
Gustavo Moreira
2021-12-10 13:10:47 +11:00
parent 8e7aff4ad8
commit e1942976bf
2 changed files with 3 additions and 3 deletions
@@ -152,7 +152,7 @@ class Check_syscall(plugins.PluginInterface):
except exceptions.SymbolError:
ia32_symbol = None
if ia32_symbol != None:
if ia32_symbol is not None:
ia32_info = self._get_table_info(vmlinux, "ia32_sys_call_table", ptr_sz)
tables.append(("32bit", ia32_info))