linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove duplicate function calls and useless message
@ 2025-10-23  8:20 Qiang Ma
  2025-10-23 10:55 ` Russell King (Oracle)
  0 siblings, 1 reply; 2+ messages in thread
From: Qiang Ma @ 2025-10-23  8:20 UTC (permalink / raw)
  To: ardb, linux; +Cc: linux-efi, linux-kernel, linux-arm-kernel, Qiang Ma

From: Qiang Ma <maqianga@uniontech.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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/2] Remove duplicate function calls and useless message
  2025-10-23  8:20 [PATCH 0/2] Remove duplicate function calls and useless message Qiang Ma
@ 2025-10-23 10:55 ` Russell King (Oracle)
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King (Oracle) @ 2025-10-23 10:55 UTC (permalink / raw)
  To: Qiang Ma; +Cc: ardb, linux-efi, linux-kernel, linux-arm-kernel

On Thu, Oct 23, 2025 at 04:20:51PM +0800, Qiang Ma wrote:
> From: Qiang Ma <maqianga@uniontech.com>
> 
> This patchset removes duplicate function calls and useless debug message

This isn't a patch set. This is a cover message with no patches threaded
to it. This makes it difficult to find the patches.

Please ensure that patches are threaded to the cover message.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-23 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-23  8:20 [PATCH 0/2] Remove duplicate function calls and useless message Qiang Ma
2025-10-23 10:55 ` Russell King (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).