diff --git a/util/lint/checkpatch_json.py b/util/lint/checkpatch_json.py
index 7da213c7d0..8102c114b9 100755
--- a/util/lint/checkpatch_json.py
+++ b/util/lint/checkpatch_json.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-only
"""
@@ -41,14 +41,14 @@ def parse_file(input_file):
def main():
if (len(sys.argv) < 3) or (sys.argv[1] == "-h"):
- print "HELP:"
- print sys.argv[0] + "