From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760762AbbIDRBP (ORCPT ); Fri, 4 Sep 2015 13:01:15 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35009 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760518AbbIDRBM (ORCPT ); Fri, 4 Sep 2015 13:01:12 -0400 From: Nayeemahmed Badebade To: gregkh@linuxfoundation.org Cc: German.Rivera@freescale.com, stuart.yoder@freescale.com, agraf@suse.de, hgujulan@visteon.com, linux-kernel@vger.kernel.org Subject: [PATCH] Staging: fsl-mc/bus: mc-bus.c: Fixed coding style issues Date: Fri, 4 Sep 2015 22:30:33 +0530 Message-Id: <1441386033-2900-1-git-send-email-itachi.opsrc@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <20150903164834.GD31709@kroah.com> References: <20150903164834.GD31709@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed coding style issues where kernel types u16,u64,u32 should be preferred over uint16_t,uint64_t,uint32_t Signed-off-by: Nayeemahmed Badebade --- drivers/staging/fsl-mc/bus/mc-bus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/mc-bus.c b/drivers/staging/fsl-mc/bus/mc-bus.c index 766a659..b3a60a0 100644 --- a/drivers/staging/fsl-mc/bus/mc-bus.c +++ b/drivers/staging/fsl-mc/bus/mc-bus.c @@ -209,7 +209,7 @@ EXPORT_SYMBOL_GPL(fsl_mc_driver_unregister); static int get_dprc_icid(struct fsl_mc_io *mc_io, int container_id, uint16_t *icid) { - uint16_t dprc_handle; + u16 dprc_handle; struct dprc_attributes attr; int error; @@ -234,7 +234,7 @@ common_cleanup: return error; } -static int translate_mc_addr(uint64_t mc_addr, phys_addr_t *phys_addr) +static int translate_mc_addr(u64 mc_addr, phys_addr_t *phys_addr) { int i; struct fsl_mc *mc = dev_get_drvdata(fsl_mc_bus_type.dev_root->parent); @@ -600,7 +600,7 @@ static int fsl_mc_bus_probe(struct platform_device *pdev) struct fsl_mc_io *mc_io = NULL; int container_id; phys_addr_t mc_portal_phys_addr; - uint32_t mc_portal_size; + u32 mc_portal_size; struct mc_version mc_version; struct resource res; -- 1.9.1