Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752715AbcKHAZL (ORCPT ); Mon, 7 Nov 2016 19:25:11 -0500 Received: from mail-db5eur01on0051.outbound.protection.outlook.com ([104.47.2.51]:47161 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752078AbcKHAZJ (ORCPT ); Mon, 7 Nov 2016 19:25:09 -0500 From: Stuart Yoder To: Shiva Kerdel CC: "gregkh@linuxfoundation.org" , German Rivera , "itai.katz@nxp.com" , "treding@nvidia.com" , Bharat Bhushan , Nipun Gupta , "linux-kernel@vger.kernel.org" , "devel@driverdev.osuosl.org" , Laurentiu Tudor Subject: RE: [PATCH 1/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u32' preferred over 'uint32_t' Thread-Topic: [PATCH 1/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u32' preferred over 'uint32_t' Thread-Index: AQHSOO639WfKkqYkTUa+k0WBVJWGWKDOMC7Q Date: Mon, 7 Nov 2016 23:50:08 +0000 Message-ID: References: <20161107120125.4663-1-shiva@exdev.nl> In-Reply-To: <20161107120125.4663-1-shiva@exdev.nl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=stuart.yoder@nxp.com; x-originating-ip: [192.88.168.1] x-ms-office365-filtering-correlation-id: 66b8cbc2-abb3-46b9-ffb0-08d40768ce65 x-microsoft-exchange-diagnostics: 1;HE1PR0401MB2556;7:PQDuAJoTLAAmgTiBrBpjrl48KnZ+ILut5fLuZlLkk9FQNNC1cI/d7/Vv2+XshTeirT3xGgB1UhmDq0GiXZynbwkHFSn8lE4QdGMptwMlB8tbVFH6pCfU7Vo9MTtBLHSp4qGh3aoe69dFULoXtRkxTXQDsP3pCZPENzpj6lfkQ7AZeGoH2vnD/a+wDsMD2IZvjHCRHqArSo3qLKLgj6Fumwj1rZrZJ8JoinIyhj6AZN4Mw2Kz8fO5kuGQeqQHodTB7JhC6SW8ifUBLCIzFsXx3qoKN2UjoFOHX1+sq+DMhk9Z2z26UhkFHlpcp8/+VbUsNPCvOuueUhhn/KKwUiFVOScJ65JEyyYoRrF4TFH4WgY= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0401MB2556; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197)(101931422205132); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040176)(6060229)(6045074)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6046074)(6061226);SRVR:HE1PR0401MB2556;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0401MB2556; x-forefront-prvs: 0119DC3B5E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(199003)(377454003)(13464003)(189002)(189998001)(33656002)(76576001)(66066001)(68736007)(2906002)(4326007)(102836003)(87936001)(586003)(3846002)(6116002)(7696004)(6916009)(5660300001)(110136003)(2950100002)(9686002)(86362001)(8936002)(8676002)(81156014)(81166006)(3660700001)(2900100001)(97736004)(101416001)(77096005)(92566002)(74316002)(305945005)(50986999)(54356999)(7846002)(7736002)(122556002)(105586002)(106356001)(106116001)(76176999)(3280700002);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0401MB2556;H:HE1PR0401MB2636.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2016 23:50:08.4184 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2556 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id uA80PFNV003698 Content-Length: 4325 Lines: 148 > -----Original Message----- > From: Shiva Kerdel [mailto:shiva@exdev.nl] > Sent: Monday, November 07, 2016 6:01 AM > To: German.Rivera@freescale.com > Cc: Stuart Yoder ; gregkh@linuxfoundation.org; German Rivera > ; itai.katz@nxp.com; treding@nvidia.com; Bharat Bhushan ; > Nipun Gupta ; linux-kernel@vger.kernel.org; devel@driverdev.osuosl.org; Shiva > Kerdel > Subject: [PATCH 1/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u32' preferred over 'uint32_t' > > Follow the kernel type preferrences of using 'u32' over 'uint32_t'. > > Signed-off-by: Shiva Kerdel > --- > drivers/staging/fsl-mc/bus/dpmcp.h | 34 +++++++++++++++++----------------- > 1 file changed, 17 insertions(+), 17 deletions(-) > > diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc/bus/dpmcp.h > index fe79d4d..ad41428 100644 > --- a/drivers/staging/fsl-mc/bus/dpmcp.h > +++ b/drivers/staging/fsl-mc/bus/dpmcp.h > @@ -39,7 +39,7 @@ > 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); > > @@ -47,7 +47,7 @@ int dpmcp_open(struct fsl_mc_io *mc_io, > #define DPMCP_GET_PORTAL_ID_FROM_POOL (-1) > > int dpmcp_close(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token); > > /** > @@ -60,16 +60,16 @@ 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); > > int dpmcp_destroy(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token); > > int dpmcp_reset(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token); > > /* IRQ */ > @@ -86,52 +86,52 @@ int dpmcp_reset(struct fsl_mc_io *mc_io, > */ > struct dpmcp_irq_cfg { > uint64_t paddr; > - uint32_t val; > + u32 val; > int irq_num; > }; > > int dpmcp_set_irq(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token, > uint8_t irq_index, > struct dpmcp_irq_cfg *irq_cfg); > > int dpmcp_get_irq(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token, > uint8_t 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, > + u32 cmd_flags, > uint16_t token, > uint8_t irq_index, > uint8_t en); > > int dpmcp_get_irq_enable(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token, > uint8_t irq_index, > uint8_t *en); > > int dpmcp_set_irq_mask(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token, > uint8_t irq_index, > - uint32_t mask); > + u32 mask); > > int dpmcp_get_irq_mask(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token, > uint8_t irq_index, > - uint32_t *mask); > + u32 *mask); > > int dpmcp_get_irq_status(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token, > uint8_t irq_index, > - uint32_t *status); > + u32 *status); > > /** > * struct dpmcp_attr - Structure representing DPMCP attributes > @@ -152,7 +152,7 @@ struct dpmcp_attr { > }; > > int dpmcp_get_attributes(struct fsl_mc_io *mc_io, > - uint32_t cmd_flags, > + u32 cmd_flags, > uint16_t token, > struct dpmcp_attr *attr); When you respin a patch, please put the new version number in the subject. i.e.: [PATCH v2 1/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u32' preferred over 'uint32_t' Can you please rebase this patch and the ones that follow on Greg's latest staging-next branch. In the first patch I looked at, the changes you are proposing were already merged in 3e93e354 in staging-next. "staging: fsl-mc: cleanup: convert uintX_t types to uX" I think you are working on an out of date codebase. Thanks, Stuart