From 16ca2e2607792333ae3b0da6dc39c9e6e2e88df0 Mon Sep 17 00:00:00 2001 From: Gerwin Klein Date: Wed, 7 Feb 2024 15:28:57 +1100 Subject: [PATCH 1/2] github: bump actions to node20 GitHub has started issuing warnings for node16 actions. Signed-off-by: Gerwin Klein --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a67cc2..bcccfd9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install python packages From f7ef9ca4f9d3e1a8e86375deaf286a056698b9ce Mon Sep 17 00:00:00 2001 From: Nick Spinale Date: Wed, 14 Feb 2024 08:55:11 +0000 Subject: [PATCH 2/2] python-capdl-tool: remove redundant assignment Signed-off-by: Nick Spinale --- python-capdl-tool/capdl/ELF.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python-capdl-tool/capdl/ELF.py b/python-capdl-tool/capdl/ELF.py index 2bb757c..7657945 100644 --- a/python-capdl-tool/capdl/ELF.py +++ b/python-capdl-tool/capdl/ELF.py @@ -149,7 +149,6 @@ def get_pages(self, infer_asid=True, pd=None, use_large_frames=True, addr_space= existing_pages = [] if addr_space: # Update symbols with their vaddrs in the AddressSpaceAllocator if we were given one - existing_pages = [] for (symbol, (sizes, caps)) in iteritems(addr_space.get_symbols_and_clear()): assert self.get_symbol_size(symbol) >= sum(sizes), \ "Symbol (%s:%d) must have same or greater size than supplied cap range (%d)" % (