computing-offload/generic_vdpa/libvirt/apibuild-Fix-self.waring-method-call.patch
jiangdongxu 79c4324644 add generic_vdpa basecode
Change-Id: I2d302dda68298877c65c99147f5bf22186a59aac
2024-09-19 17:19:46 +08:00

32 lines
1021 B
Diff

From 58d0830491d3be2fedec55f42f6f832d32783a73 Mon Sep 17 00:00:00 2001
From: luzhipeng <luzhipeng@cestc.cn>
Date: Sat, 7 May 2022 09:17:31 +0800
Subject: [PATCH] apibuild: Fix self.waring method call
The parameters of self.warning is inconsistent with its definition, So
fix it.
Signed-off-by: dinglimin <dinglimin@cmss.chinamobile.com>
Signed-off-by: luzhipeng <luzhipeng@cestc.cn>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
---
scripts/apibuild.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/apibuild.py b/scripts/apibuild.py
index 05a169c30d..c98bcf6091 100755
--- a/scripts/apibuild.py
+++ b/scripts/apibuild.py
@@ -315,7 +315,7 @@ class index:
if type in type_map:
type_map[type][name] = d
else:
- self.warning("Unable to register type ", type)
+ self.warning("Unable to register type %s" % type)
if name == debugsym and not quiet:
print("New symbol: %s" % (d))
--
2.27.0