Skip to contentSkip to conversation

ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf

PATCH Applied Bartlomiej Zolnierkiewicz 2 participants 2 messages Nov 26, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf

Values stored in val[] are never bigger than a byte.

   text    data     bss     dec     hex filename
   7716    3692       8   11416    2c98 arch/arm/mach-exynos/pmu.o.before
   5436    1908       8    7352    1cb8 arch/arm/mach-exynos/pmu.o.after

---
v2:
- rebased on top of next-20141126 branch of linux-next kernel tree (it also applies fine to for-next branch of linux-samsung.git)

 arch/arm/mach-exynos/pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-exynos/pmu.c +1 -1
index ccb0120..c15761c 100644
@@ -25,7 +25,7 @@
 
 struct exynos_pmu_conf {
 	unsigned int offset;
-	unsigned int val[NUM_SYS_POWERDOWN];
+	u8 val[NUM_SYS_POWERDOWN];
 };
 
 struct exynos_pmu_data {
Signature · 1 line
1.8.2.3
Applied
#1 lore raw
Quoted 23 lines · Bartlomiej Zolnierkiewicz

Values stored in val[] are never bigger than a byte.

   text    data     bss     dec     hex filename
   7716    3692       8   11416    2c98 arch/arm/mach-exynos/pmu.o.before
   5436    1908       8    7352    1cb8 arch/arm/mach-exynos/pmu.o.after

---
v2:
- rebased on top of next-20141126 branch of linux-next kernel tree (it also applies fine to for-next branch of linux-samsung.git)

 arch/arm/mach-exynos/pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-exynos/pmu.c +0 -0
index ccb0120..c15761c 100644

arch/arm/mach-exynos/pmu.c line 31

Quoted 8 lines
arch/arm/mach-exynos/pmu.c +1 -1
@@ -25,7 +25,7 @@
 
 struct exynos_pmu_conf {
 	unsigned int offset;
-	unsigned int val[NUM_SYS_POWERDOWN];
+	u8 val[NUM_SYS_POWERDOWN];
 };
 
 struct exynos_pmu_data {

Applied, thanks.

- Kukjin