From patchwork Wed Nov 26 17:21:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 5386971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CB30F9F2F5 for ; Wed, 26 Nov 2014 17:24:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0739B201F4 for ; Wed, 26 Nov 2014 17:24:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26C87201EF for ; Wed, 26 Nov 2014 17:24:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtgIe-0002rB-GW; Wed, 26 Nov 2014 17:22:44 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtgIa-0002Vq-4W for linux-arm-kernel@lists.infradead.org; Wed, 26 Nov 2014 17:22:41 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFN00762PL3UT40@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Nov 2014 02:22:15 +0900 (KST) X-AuditID: cbfee61a-f79c06d000004e71-92-54760c47e451 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 35.6D.20081.74C06745; Thu, 27 Nov 2014 02:22:15 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NFN007Z7PKV0460@mmp1.samsung.com>; Thu, 27 Nov 2014 02:22:15 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Kukjin Kim Subject: [PATCH v2] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf Date: Wed, 26 Nov 2014 18:21:38 +0100 Message-id: <1787532.9Q2MHGpzCz@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-70-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsVy+t9jAV13nrIQgyPLjC0aroZY9C64ymZx tukNu8Wmx9dYLS7vmsNmMeP8PiaLRVu/sDuwe2xeUu/Rt2UVo8fnTXIBzFFcNimpOZllqUX6 dglcGf/Xr2As2MBR8XnaBtYGxitsXYycHBICJhKnT89hhbDFJC7cWw8U5+IQEljEKDGpcT8z hNPCJDFh5XkmkCo2ASuJie2rGEFsEQE1iZ7FWxlBipgFPjFKXJrQATZWWMBbYsLLn8wgNouA qsSbSUfAGngFNCUuTNoLFhcV8JTYOf0AVFxQ4sfkeywgNrOAvMS+/VNZIWwtifU7jzNNYOSb haRsFpKyWUjKFjAyr2IUTS1ILihOSs811CtOzC0uzUvXS87P3cQIDtBnUjsYVzZYHGIU4GBU 4uGNkCoNEWJNLCuuzD3EKMHBrCTCy/EOKMSbklhZlVqUH19UmpNafIhRmoNFSZz3xs3cECGB 9MSS1OzU1ILUIpgsEwenVAMjq21NbNbl67OzJ7cl6jQ33HDbt3DKatmnyWVR++8fOhjEvF9y i8ihzBWZm1aWsp+8FWHt2/5or8PBuRt2P0hxmXyQZ9cEoV/1Ooynrq/qFLDzXbTN1O77Qf7D /0+GLsqQeyYx91mB3Pzoy+plU+66fF0W+1qnx2Jn2Jv02g0Gah1bXZO03bekK7EUZyQaajEX FScCAMHpPlFMAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141126_092240_324528_778EAD89 X-CRM114-Status: GOOD ( 10.09 ) X-Spam-Score: -4.9 (----) Cc: linux-samsung-soc@vger.kernel.org, Pankaj Dubey , Kyungmin Park , linux-kernel@vger.kernel.org, Amit Daniel Kachhap , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: Amit Daniel Kachhap Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park --- 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 {