From: Peter Krempa <[email protected]>

Validate also variables exported as 'extern' e.g. from the util
submodule.

Signed-off-by: Peter Krempa <[email protected]>
---
 scripts/check-symfile.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/check-symfile.py b/scripts/check-symfile.py
index c2ee405118..e4149b771e 100755
--- a/scripts/check-symfile.py
+++ b/scripts/check-symfile.py
@@ -61,7 +61,7 @@ for elflib in elflibs:

     for line in nm:
         line = line.decode("utf-8")
-        symmatch = re.search(r'''^\S+\s(?:[TBSDG])\s(\S+)\s*$''', line)
+        symmatch = re.search(r'''^\S+\s(?:[TBSDGR])\s(\S+)\s*$''', line)
         if symmatch is None:
             continue

-- 
2.54.0

Reply via email to