Thread (2 messages) 2 messages, 2 authors, 14d ago

Re: [soc:board-remove-7.3] BUILD SUCCESS WITH UNVERIFIED WARNING 1982025236bc9eee5a8895ee4d9743f989e20abf

From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2026-09-14 19:06:33
Subsystem: arm port, omap2+ support, the rest · Maintainers: Russell King, Aaro Koskinen, Andreas Kemnade, Kevin Hilman, Roger Quadros, Tony Lindgren, Linus Torvalds

On Mon, Sep 14, 2026, at 20:09, kernel test robot wrote:
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git 
board-remove-7.3
branch HEAD: 1982025236bc9eee5a8895ee4d9743f989e20abf  power: supply: 
sbs-battery: remove platform_data based probing

Unverified Warning (likely false positive, kindly check if interested):

    arch/arm/mach-omap2/id.c:101:12: warning: variable 'tap_prod_id' 
set but not used [-Wunused-but-set-global]
I folded in this change now:
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 3e731dd21311..4539a50c42dd 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -98,7 +98,6 @@ EXPORT_SYMBOL(omap_type);
 #define read_tap_reg(reg)	readl_relaxed(tap_base  + (reg))
 
 static void __iomem *tap_base;
-static u16 tap_prod_id;
 
 static void omap_get_die_id(struct omap_die_id *odi)
 {
@@ -656,12 +655,6 @@ void __init omap2_set_globals_tap(u32 class, void __iomem *tap)
 {
 	omap_revision = class;
 	tap_base = tap;
-
-	/* XXX What is this intended to do? */
-	if (soc_is_omap34xx())
-		tap_prod_id = 0x0210;
-	else
-		tap_prod_id = 0x0208;
 }
 
 #ifdef CONFIG_SOC_BUS

       Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help