Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753147AbcKHXvd (ORCPT ); Tue, 8 Nov 2016 18:51:33 -0500 Received: from mail-db5eur01on0054.outbound.protection.outlook.com ([104.47.2.54]:2883 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752217AbcKHXvc (ORCPT ); Tue, 8 Nov 2016 18:51:32 -0500 From: Stuart Yoder To: Shiva Kerdel CC: "gregkh@linuxfoundation.org" , "German.Rivera@freescale.com" , German Rivera , "treding@nvidia.com" , "itai.katz@nxp.com" , Nipun Gupta , "linux-kernel@vger.kernel.org" , "devel@driverdev.osuosl.org" Subject: RE: [PATCH v2 1/2] Staging: fsl-mc: include: mc-bus: Kernel type 's16' preferred over 'int16_t' Thread-Topic: [PATCH v2 1/2] Staging: fsl-mc: include: mc-bus: Kernel type 's16' preferred over 'int16_t' Thread-Index: AQHSOdbDoyHJrTcXkEywgVcAHMZsaKDPwblQ Date: Tue, 8 Nov 2016 23:51:21 +0000 Message-ID: References: <20161108154214.16243-1-shiva@exdev.nl> In-Reply-To: <20161108154214.16243-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: [162.203.173.167] x-ms-office365-filtering-correlation-id: 017db555-f594-4217-e010-08d408322440 x-microsoft-exchange-diagnostics: 1;VI1PR04MB0912;7:t/eX/5XjpT8HK6D3BGKkxpeXaynLaneHm7kq+jTWz4Scl2WR5Z2fGSclFvJW/kIrCWj4YEKyOYUIwYDrm8sVeR34NDXegF2MwLKASJDJI0bs7Z82wkR1FMBiy0/m/FOagLb3xtninRT21xiRYjB2d+l1XHES1cx8QyUWqulOSOwtKiPleIn1OXHRX2nkwfSWdzTN+Z8fWvu0yCnZ6DYnI8tn/44FX91B/xNvJjSFwz4ux9hTEMOjmpKbo0kwvACdXKx5TumT9nPFu6qyrflUXPjdS8YQgWjsfBssa4L3hRh7bM9DFy+jSDj4E4veIdcQ3a7uaUTyzUO59itfBlhqOOUlueGLoqPexRfa0vQd+Q4= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB0912; 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)(6061226)(6046074);SRVR:VI1PR04MB0912;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB0912; x-forefront-prvs: 01208B1E18 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(189002)(13464003)(199003)(377454003)(33656002)(8676002)(77096005)(81156014)(8936002)(106356001)(5660300001)(189998001)(106116001)(105586002)(586003)(74316002)(2906002)(66066001)(3660700001)(3846002)(6116002)(7846002)(102836003)(305945005)(4326007)(7736002)(87936001)(3280700002)(68736007)(101416001)(97736004)(76576001)(76176999)(86362001)(6916009)(2900100001)(54356999)(110136003)(81166006)(50986999)(92566002)(122556002)(7696004)(2950100002)(9686002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB0912;H:VI1PR0401MB2638.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A: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: 08 Nov 2016 23:51:21.4119 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB0912 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 uA8Npb0O011186 Content-Length: 1364 Lines: 35 > -----Original Message----- > From: Shiva Kerdel [mailto:shiva@exdev.nl] > Sent: Tuesday, November 08, 2016 9:42 AM > To: Stuart Yoder > Cc: gregkh@linuxfoundation.org; German.Rivera@freescale.com; German Rivera ; > treding@nvidia.com; itai.katz@nxp.com; Nipun Gupta ; linux-kernel@vger.kernel.org; > devel@driverdev.osuosl.org; Shiva Kerdel > Subject: [PATCH v2 1/2] Staging: fsl-mc: include: mc-bus: Kernel type 's16' preferred over 'int16_t' > > Follow the kernel type preferrences of using 's16' over 'int16_t'. > > Signed-off-by: Shiva Kerdel > --- > drivers/staging/fsl-mc/include/mc-bus.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/fsl-mc/include/mc-bus.h b/drivers/staging/fsl-mc/include/mc-bus.h > index e915574..c7cad87 100644 > --- a/drivers/staging/fsl-mc/include/mc-bus.h > +++ b/drivers/staging/fsl-mc/include/mc-bus.h > @@ -42,8 +42,8 @@ struct msi_domain_info; > */ > struct fsl_mc_resource_pool { > enum fsl_mc_pool_type type; > - int16_t max_count; > - int16_t free_count; > + s16 max_count; > + s16 free_count; > struct mutex mutex; /* serializes access to free_list */ > struct list_head free_list; > struct fsl_mc_bus *mc_bus; Acked-by: Stuart Yoder