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: 5386921 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 614BE9F2F5 for ; Wed, 26 Nov 2014 17:22:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9CC24201F4 for ; Wed, 26 Nov 2014 17:22:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6B7920149 for ; Wed, 26 Nov 2014 17:22:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752568AbaKZRWU (ORCPT ); Wed, 26 Nov 2014 12:22:20 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:31770 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752482AbaKZRWS (ORCPT ); Wed, 26 Nov 2014 12:22:18 -0500 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>; 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 Cc: Pankaj Dubey , Amit Daniel Kachhap , Kyungmin Park , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 {