* [PATCH v2] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf
@ 2014-11-26 17:21 Bartlomiej Zolnierkiewicz
2014-11-26 17:49 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2014-11-26 17:21 UTC (permalink / raw)
To: linux-arm-kernel
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
Cc: Pankaj Dubey <pankaj.dubey@samsung.com>
Cc: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
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(-)
diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
index ccb0120..c15761c 100644
--- a/arch/arm/mach-exynos/pmu.c
+++ b/arch/arm/mach-exynos/pmu.c
@@ -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 {
--
1.8.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf
2014-11-26 17:21 [PATCH v2] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf Bartlomiej Zolnierkiewicz
@ 2014-11-26 17:49 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2014-11-26 17:49 UTC (permalink / raw)
To: linux-arm-kernel
On 11/27/14 02:21, Bartlomiej Zolnierkiewicz wrote:
> 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
>
> Cc: Pankaj Dubey <pankaj.dubey@samsung.com>
> Cc: Amit Daniel Kachhap <amit.daniel@samsung.com>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> 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(-)
>
> diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
> index ccb0120..c15761c 100644
> --- a/arch/arm/mach-exynos/pmu.c
> +++ b/arch/arm/mach-exynos/pmu.c
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-26 17:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26 17:21 [PATCH v2] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf Bartlomiej Zolnierkiewicz
2014-11-26 17:49 ` Kukjin Kim
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).