[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251023082051.75183-1-maqianga@uniontech.com>
Date: Thu, 23 Oct 2025 16:20:51 +0800
From: Qiang Ma <maqianga@...ontech.com>
To: ardb@...nel.org,
linux@...linux.org.uk
Cc: linux-efi@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Qiang Ma <maqianga@...ontech.com>
Subject: [PATCH 0/2] Remove duplicate function calls and useless message
From: Qiang Ma <maqianga@...ontech.com>
This patchset removes duplicate function calls and useless debug message
1. The efi_set_mapping_permissions() does not need to be called in
efi_create_mapping(), because efi_memattr_apply_permissions() will be invoked.
The calling relationship is as follows:
==>efi_create_mapping()
==>efi_set_mapping_permissions()
==>efi_memattr_apply_permissions()
==>efi_set_mapping_permissions()
2. Based on the first point, efi_create_mapping() always returns 0,
so there is no need to print the failure return message.
Qiang Ma (2):
ARM/efi: Remove duplicate permission settings
efi/arm*: Remove the useless failure return message print
arch/arm/kernel/efi.c | 5 -----
drivers/firmware/efi/arm-runtime.c | 7 +------
2 files changed, 1 insertion(+), 11 deletions(-)
--
2.20.1
Powered by blists - more mailing lists