From 5836db9305917bf531713262a848aaa281fc0604 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Sun, 4 Sep 2022 02:41:23 -0400 Subject: [PATCH] m1n1.proxy: increase p.call max args to 5 to match proxy.c Commit 6a1a9bfc3c942e33142754f323078fd838c72def raised the limit in proxy.c but not in the Python code. Signed-off-by: Zhuowei Zhang --- proxyclient/m1n1/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxyclient/m1n1/proxy.py b/proxyclient/m1n1/proxy.py index 18bd32fd..8214bb15 100644 --- a/proxyclient/m1n1/proxy.py +++ b/proxyclient/m1n1/proxy.py @@ -678,7 +678,7 @@ class M1N1Proxy(Reloadable): def exit(self, retval=0): self.request(self.P_EXIT, retval) def call(self, addr, *args, reboot=False): - if len(args) > 4: + if len(args) > 5: raise ValueError("Too many arguments") return self.request(self.P_CALL, addr, *args, reboot=reboot) def reload(self, addr, *args, el1=False):