]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
util/arm_einj.py: fix a typo at virt-addr
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 10 Jul 2024 13:07:44 +0000 (15:07 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 10 Jul 2024 13:07:44 +0000 (15:07 +0200)
Typo: QAPI parameter is virt-addr.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
util/arm_einj.py

index f5314bfa0778db40d953bd126ceffde33454a21d..bc90b4b589defe4dd108f8d2ef518f27f4e78321 100755 (executable)
@@ -245,7 +245,7 @@ class errorInjection:
                         suffixes=["-error", "-cap"])
         get_mult_int(pei, "multiple-error", args.multiple_error)
         get_mult_int(pei, "phy-addr", args.physical_address)
-        get_mult_int(pei, "vir-addr", args.virtual_address)
+        get_mult_int(pei, "virt-addr", args.virtual_address)
 
         # Handle context
         get_mult_int(ctx, "type", args.ctx_type, allow_zero=True)