summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorAni Sinha <anisinha@redhat.com>2023-07-05 15:44:07 +0200
committerWei Liu <wei.liu@kernel.org>2023-07-24 01:19:30 +0200
commited0cf84e9cc42e6310961c87709621f1825c2bb8 (patch)
tree0b8c2a6cf96af5164a691cb513ce6a0c3c0b5fda /arch/arm64
parentx86/hyperv: fix a warning in mshyperv.h (diff)
downloadlinux-ed0cf84e9cc42e6310961c87709621f1825c2bb8.tar.xz
linux-ed0cf84e9cc42e6310961c87709621f1825c2bb8.zip
vmbus_testing: fix wrong python syntax for integer value comparison
It is incorrect in python to compare integer values using the "is" keyword. The "is" keyword in python is used to compare references to two objects, not their values. Newer version of python3 (version 3.8) throws a warning when such incorrect comparison is made. For value comparison, "==" should be used. Fix this in the code and suppress the following warning: /usr/sbin/vmbus_testing:167: SyntaxWarning: "is" with a literal. Did you mean "=="? Signed-off-by: Ani Sinha <anisinha@redhat.com> Link: https://lore.kernel.org/r/20230705134408.6302-1-anisinha@redhat.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions