]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: OMAP2+: Fix falg->flag typo in omap_smc2()
authorAli Khan <abdulalikhan1337@gmail.com>
Tue, 7 Oct 2025 12:53:09 +0000 (12:53 +0000)
committerKevin Hilman <khilman@baylibre.com>
Tue, 4 Nov 2025 22:47:46 +0000 (14:47 -0800)
Fix a spelling error in the omap_smc2() function declaration
and in a corresponding comment within the assembly source.
This was reported via bugzilla in 2019.

Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=205891
Signed-off-by: Ali Khan <abdulalikhan1337@gmail.com>
Link: https://lore.kernel.org/r/20251007-omap-falg-fix-v1-1-545a1de74a0a@gmail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/mach-omap2/omap-secure.h
arch/arm/mach-omap2/omap-smc.S

index 2517c4a5a0e2007e6c3a67d00f5e2a2692691352..04b4ba0f59ab8e00d75d9af573c955fdad5f664f 100644 (file)
@@ -68,7 +68,7 @@ extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs,
                                u32 arg1, u32 arg2, u32 arg3, u32 arg4);
 extern void omap_smccc_smc(u32 fn, u32 arg);
 extern void omap_smc1(u32 fn, u32 arg);
-extern u32 omap_smc2(u32 id, u32 falg, u32 pargs);
+extern u32 omap_smc2(u32 id, u32 flag, u32 pargs);
 extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs);
 extern int omap_secure_ram_reserve_memblock(void);
 extern u32 save_secure_ram_context(u32 args_pa);
index 7376f528034db1f7e1151b006455a437ab25e00d..fe3b5478200a46cd4cafba32a61314df35f6cf70 100644 (file)
@@ -32,7 +32,7 @@ ENTRY(_omap_smc1)
 ENDPROC(_omap_smc1)
 
 /**
- * u32 omap_smc2(u32 id, u32 falg, u32 pargs)
+ * u32 omap_smc2(u32 id, u32 flag, u32 pargs)
  * Low level common routine for secure HAL and PPA APIs.
  * @id: Application ID of HAL APIs
  * @flag: Flag to indicate the criticality of operation