Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938809AbcJQTFV (ORCPT ); Mon, 17 Oct 2016 15:05:21 -0400 Received: from mail-cys01nam02on0066.outbound.protection.outlook.com ([104.47.37.66]:50876 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S938756AbcJQTEx (ORCPT ); Mon, 17 Oct 2016 15:04:53 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; From: Stuart Yoder To: CC: , , , , , , Ioana Ciornei , Stuart Yoder Subject: [PATCH 08/14] staging: fsl-mc: cleanup: convert uintX_t types to uX Date: Mon, 17 Oct 2016 13:43:08 -0500 Message-ID: <1476729788-10102-1-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131212037332049492;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(8676002)(8666005)(305945005)(6666003)(229853001)(50986999)(77096005)(92566002)(69596002)(2906002)(85426001)(2351001)(110136003)(104016004)(86362001)(87936001)(5660300001)(36756003)(6916009)(106466001)(19580395003)(626004)(81166006)(97736004)(4326007)(586003)(7846002)(47776003)(50226002)(48376002)(8936002)(356003)(105606002)(19580405001)(68736007)(81156014)(33646002)(189998001)(50466002)(5003940100001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR03MB332;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD057;1:xaAqOwoeXFkIVMgADZYwQtzwf7E4DQw2uPNRGBmlz8PF/ZmECezlHXsKj45mpRzH7VZzzWZnXL4uRLYmCIsmAtTfudIuuZBLnTGp9A7yeMbWt1o+gXnFZh8D0MTyEuCjr6W0UTEDA20VNozmH3JOIl/p0NUGy86utZ8TuMpzFefFWpuiujJ/cT+Hm7gpogXuAGBullhxv65BaVbSyG+pp0aumlb70ZexH775YTJWjLExyA8EU9lOa4UjerALHRJ9w/eghGmlFOb9T82BuykJh6fUbvAE3UQXrVjca91fMHBlTGznbTbf6UE9YkERSWhqwqlaoZHyiidJKn9351fq5DzfVJCaO2M4ApzSJcyH0HT3zCb3xluLL93bzKsx37/cYkQYGHF86gMjSKy0Yg93DK7O4qFsTgezlGCM5wx75vTphOj6AToWRFRbT4HOMz5jRKe/4v8MGlhxU5TxZjZrAtXtRuxXcd4M+QAJtZFFVEJFtv3Vxzb6nix7Gp5qNh/jXf7Gw/ZvxpTUR1/TwunWRrQvQ3kLEKA2RYfSloGIMbMeQPRJRZBSSQhoUmMgQeVSTRlS9iR/J9uYNYc0p2xiIaOfl8oxbOy4K3ee8yfqxH1z35Wqa0Tf/xCIVS9IYy6N1fWIv0i473N+SS36YKDJrKXdWYR8zvRQOeqvqmBxjjIrP2xKK4EIXB5hZd+CDRV2LZcxDKCjhUD5mXCPRRLQBsCl3FHWFQ2t++IwSEbE8/Y= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: bc5fdc67-db10-456c-3cf3-08d3f6be3de3 X-Microsoft-Exchange-Diagnostics: 1;BY2PR03MB332;2:gZC//0vAndZcFAQI0T17Nv+U01ksBDsSZV309/b9/DKjTuEGwvu+w0OhQLfvv+uXdDRziuXZ1QHKEZ5E9B91NGIXP6V7XgVVJjF/y//354++1q8x2FaZWOir/ZUlWJnEr0+TqstZQqsim3Fx0ebTUCFPWyKKqVfSWn0RO3iw55DZ/med8irrbBd0WZS8KPZK;3:cLzbaDg5SeL+HvO7ZcywAJB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DHzSNfX0jW4FqKmmkBPcs9DTLOa4GVM6twwlwzDCgPgiuQYxIOP8wK4CcQTDd9sFjq+WYJlMMXMc1zx9RZyRc3xj0tbxueHYWBxADPOdWcbW3EbbZBgLPpLZObHEPKcSvHF9SjQKUlh8siYRRDoq6fWIwcMK4FJ7a/Ev/J/ykZSoDz1oOG8iw/mm6BxAiqPrAPtjQ8r+hJvPpv60dX63M9Ww20414vjRGFIt1Pi3uqu708Fi/OSpURS+phxQVxNnzfu1ybpmcB+VKhgFJkCKXS3cXg+Ewo16yOdpM5mdQlZQtNTB4EKOvRZDnBxoQ7d87xYtL2Nb3KpOKXKa2ixaNoh74zdvluHZSnmxezPwRcxTu/AeyZmAJarfd7dIAQ7NcZE+U2CosCZgcItaLL9fXaBK+/D5iDwYAqzr+2cV1hypH+LeqTjAmbYzEmWGTxKyHtd6CSrlMaDhDyxPyG6yFmEj1dHD3FhZWYXk2jwP1Kpq1ejeKtq62+o4T9D+lD8tB/EzhrMP0c4Lg3bZk5C8yrMSFDsmuRJigViqz4vXf9a0PgJkVZbQ+e0ytXIBj7vQeNcEdlGgaaD+Bj+yze+OZ7pUIqUblJK29wL+Wy4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(788757137089)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(13018025)(5005006)(8121501046)(13015025)(13024025)(13023025)(13017025)(10201501046)(3002001)(6055026);SRVR:BY2PR03MB332;BCL:0;PCL:0;RULEID:(400006);SRVR:BY2PR03MB332; X-Forefront-PRVS: 0098BA6C6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR03MB332;23:2ptAPU4KGmtATgiL3gaW0rW7OanbVyI0u0UUuuaFPW?= =?us-ascii?Q?XBHCkHnHkk4YV2H/M95gEeGZ1Qw8waYsIkW1r8Li1w7kD+GFMtR8cY8rGzdN?= =?us-ascii?Q?TcTGooBK9czgjW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IQcptC6bMIe8Az0sr2edwd+uInMVP3cexBo5DulXsOT+6yZsZKujalhBRKyk4rLZ/cQknbz98syKOGJEG/JtD7Sy+QXGxYA1SPK8h048ihFuGwzm3NO7Q== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2016 18:48:52.9709 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB332 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3898 Lines: 163 From: Ioana Ciornei Replace all uses of uintX_t types with uX types in order to comply with kernel coding style and resolve checkpatch warnings. Signed-off-by: Ioana Ciornei Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/dpmcp.h | 84 +++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc/bus/dpmcp.h index fe79d4d..5434e09 100644 --- a/drivers/staging/fsl-mc/bus/dpmcp.h +++ b/drivers/staging/fsl-mc/bus/dpmcp.h @@ -39,16 +39,16 @@ struct fsl_mc_io; int dpmcp_open(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, int dpmcp_id, - uint16_t *token); + u16 *token); /* Get portal ID from pool */ #define DPMCP_GET_PORTAL_ID_FROM_POOL (-1) int dpmcp_close(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token); + u32 cmd_flags, + u16 token); /** * struct dpmcp_cfg - Structure representing DPMCP configuration @@ -60,17 +60,17 @@ struct dpmcp_cfg { }; int dpmcp_create(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, + u32 cmd_flags, const struct dpmcp_cfg *cfg, - uint16_t *token); + u16 *token); int dpmcp_destroy(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token); + u32 cmd_flags, + u16 token); int dpmcp_reset(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token); + u32 cmd_flags, + u16 token); /* IRQ */ /* IRQ Index */ @@ -85,53 +85,53 @@ int dpmcp_reset(struct fsl_mc_io *mc_io, * @irq_num: A user defined number associated with this IRQ */ struct dpmcp_irq_cfg { - uint64_t paddr; - uint32_t val; + u64 paddr; + u32 val; int irq_num; }; int dpmcp_set_irq(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token, - uint8_t irq_index, + u32 cmd_flags, + u16 token, + u8 irq_index, struct dpmcp_irq_cfg *irq_cfg); int dpmcp_get_irq(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token, - uint8_t irq_index, + u32 cmd_flags, + u16 token, + u8 irq_index, int *type, struct dpmcp_irq_cfg *irq_cfg); int dpmcp_set_irq_enable(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token, - uint8_t irq_index, - uint8_t en); + u32 cmd_flags, + u16 token, + u8 irq_index, + u8 en); int dpmcp_get_irq_enable(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token, - uint8_t irq_index, - uint8_t *en); + u32 cmd_flags, + u16 token, + u8 irq_index, + u8 *en); int dpmcp_set_irq_mask(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token, - uint8_t irq_index, - uint32_t mask); + u32 cmd_flags, + u16 token, + u8 irq_index, + u32 mask); int dpmcp_get_irq_mask(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token, - uint8_t irq_index, - uint32_t *mask); + u32 cmd_flags, + u16 token, + u8 irq_index, + u32 *mask); int dpmcp_get_irq_status(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token, - uint8_t irq_index, - uint32_t *status); + u32 cmd_flags, + u16 token, + u8 irq_index, + u32 *status); /** * struct dpmcp_attr - Structure representing DPMCP attributes @@ -146,14 +146,14 @@ struct dpmcp_attr { * @minor: DPMCP minor version */ struct { - uint16_t major; - uint16_t minor; + u16 major; + u16 minor; } version; }; int dpmcp_get_attributes(struct fsl_mc_io *mc_io, - uint32_t cmd_flags, - uint16_t token, + u32 cmd_flags, + u16 token, struct dpmcp_attr *attr); #endif /* __FSL_DPMCP_H */ -- 1.9.0