]> xenbits.xensource.com Git - xtf.git/commit
Fix LGTM static analysis issues
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 15 Apr 2021 17:05:05 +0000 (18:05 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 15 Apr 2021 17:09:57 +0000 (18:09 +0100)
commit90320d569b830666afc369992a507a61f0668534
tree42285e72102b6b5b1daee71fb71fc0cc4a7185dc
parent4288d41183a6a14f328504d8b206ea27e9981266
Fix LGTM static analysis issues

 * xtf-runner: Class TestInstance implements __hash__ but does not define __eq__.
 * mkinfo.py: Import of 'os' is not used.

LGTM also complains about gdt/idt/tss being global symbols with too-short
names.  As they're the most appropriate architectural names, insert
suppression comments.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/desc.c
arch/x86/hvm/traps.c
build/mkinfo.py
xtf-runner