Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932491AbbFKQKe (ORCPT ); Thu, 11 Jun 2015 12:10:34 -0400 Received: from mail-bn1on0136.outbound.protection.outlook.com ([157.56.110.136]:30176 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754466AbbFKQK3 (ORCPT ); Thu, 11 Jun 2015 12:10:29 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; linuxfoundation.org; dkim=none (message not signed) header.d=none; Message-ID: <5579B2FC.4010008@freescale.com> Date: Thu, 11 Jun 2015 19:10:36 +0300 From: Cristian Stoica User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Greg KH CC: , , Subject: Re: [PATCH v2] powerpc: support sizes greater than an unsigned long References: <1431620684-20123-1-git-send-email-cristian.stoica@freescale.com> <1431683064-29584-1-git-send-email-cristian.stoica@freescale.com> <55799E38.1000004@freescale.com> <20150611153835.GB5058@kroah.com> In-Reply-To: <20150611153835.GB5058@kroah.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC010;1:JNJuZimId4CpMuhdTA1EHljwACrvIdSTYsyjqINM4BNoQIX9EN0wVHvAo1HcWu1Jgy+VOCg/UrZWwVkoVHEP6p7z8LHMZap9UnT7i6VwGIuWrgCWJ60VoQREq9FioLWhFofL3XYFv+QAIRVn6DGcIRawd111UYOUQG2/+iz2hmhyb2pDLG73yOW7Sz4Pf5wXIPwffXlqTGPXUtebvJKub6b46LqJ6iUhPDEVvTR/LxpGdSdRiQijBsEOpafqlJt5U8sYt1g+pH8wLARtOt3GbJm8IoRTVuuqhwCNgrAGl1OgESkpRCoF9rXcR2jX7Ay8 X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(189002)(199003)(24454002)(377454003)(51704005)(479174004)(5001960100002)(65956001)(47776003)(110136002)(77096005)(76176999)(83506001)(54356999)(46102003)(4001350100001)(87266999)(65816999)(64126003)(92566002)(189998001)(62966003)(50986999)(36756003)(65806001)(59896002)(6806004)(33656002)(93886004)(50466002)(106466001)(105606002)(2950100001)(85426001)(80316001)(23746002)(104016003)(87936001)(77156002);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR03MB388;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB388;2:e2R8ayoS3Kntb9oOkhF40qAO08Xv9mxU48krZlFXWiVthashlQDp6EfuJZFrki1N;2:FiZshQ/awwIUniKo27RmpwKKCVAncC/BxLj488Hmr7wJEllgLEtr6DPUszGC6H/7CsCc63Myyb/1Z93/O2jqBDqTKZycrYht5p3ICoS64RkvUSWB9dS0SKeGAdQ8KXnnmR1vLINyiIZiijl0+8iNudw8H2bxJyNhjXhERs3qb4xCRd+6BlVo04a+tf5n3tDKhD5B/0nRJ5xLu/SVEv7C753AdbFTfNeCGnSBks4zSJA=;6:dvkEpE19mfpLBkkNqI2m5J4hVRa6TJ43SsgunoP6Hqch+y6Xuz7gTp1NBrQ3f3EiqFGG6sNpmKpZlJJHbGcny6M+vfTYkSs9u7J6hi5+r7zWInVpDS1pRf0Jo7QD0y0O7lyQ2tYuPNvXgrfgDLwNS9dFUIkkES0OtTvo1GCiWKEX+hEmh0FJQqVwx2f9MMM6pEtdvL8pzvGAi+RxM5nJXcUqQB/LiCO/kFdRmrDcmDlW/64TW0GDoMx4Y+fP8ukuBWUAs/Ccwumhsa360mGoxCveGrn8w/Fh9OXq4tE7Anqq1GUmsLuO4376kV/FmfRxSDZJcfZtBVRBZLOouKsyVg==;3:XKaeM308NOI+RFGFUZ3WsVaAIvbUuwu01PFSAzra0z8AGN2bl4YnlOkIhxtwdLBTQV18pOHVfZZJAw7MnimaBBWrgPtbWDMYgBfHDgiJKBf1Bf1CFgRvDaQnmKdf6/6kEg3twS/nFik7auhm6qEE1ul618AO5UqJRwn56vvLGFdsrEqlFUgDuPRH4X9Lw/sZeJMPfjvKcRJHmUsas1+OooXnS7tXaaIFYRnBIw/5TEKeRFIg3GiuowUlDY0nDH19qlXBUhM+c/YU8WIB7MbUYmRrehDMRkza4wFaEAyiAGyw6t5CHuYcVtsTMyqawGNH X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB388; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(520003)(3002001);SRVR:BL2PR03MB388;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB388; X-Forefront-PRVS: 0604AFA86B X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BL2PR03MB388;9:wqW8Ru+0CSZt/XtDcnwLm0Up6C1aFBwYlDoX4Sm?= =?Windows-1252?Q?/WwRuzqCan6mgd/tW6GI57icbRDhTcRzNw9R4lG/4Z1akmpT8rjyJLff?= =?Windows-1252?Q?83DXzKqruRDN5HZZ98/gpo7ZYMyxcgo5niW5a1Lxoo9hS2y8cneprFr6?= =?Windows-1252?Q?9K+N5BJBEJ9PQ0QgTZQG7I8dNAxTcWznXkoKg4cZQ1CREJCjDUZ6zP6+?= =?Windows-1252?Q?4kPM1Gn7XyIBBaor3GstzhOgZW5OQnDIZNRgEHYdi4d2LPktDXtmBpoD?= =?Windows-1252?Q?K60oWIMoOyZaKBi88O+TwPs4vmtGeN+2eKFbw90E6uAwIh626oafNGB8?= =?Windows-1252?Q?EAXt3leBjq+X1iCIbnbGX8OoXItkr4KN/dqydhemJi7AQGZFFlboUJPk?= =?Windows-1252?Q?5WMFn4ncFCN4JNRltZWTnHN0aRpxl8plGQhtUKtUMugFmP439yFvbRj8?= =?Windows-1252?Q?Vkpg467zaqtZaDxc/yo9BqHCzzIDSKSYeUWD71G7Pq/HxcAlZIue9Q+q?= =?Windows-1252?Q?td9k0GQdNrmpVSJBV8yNwpmSYwo2o9xye+86K3vULJzzJFl9aI19Dccy?= =?Windows-1252?Q?anV95JDHYAIHBZZhAxaSG/oIhOiBQ9zZ8vAO7IDagz76yCRzsgbsyPvc?= =?Windows-1252?Q?ElQ4goLY3HDVRTACcIT9cJz4oCvIBH4YBghacnhv3uDkv8XqKt8QU4FP?= =?Windows-1252?Q?9coMANG5dzSjoneFRaELTFRTIdgAltw2d78xd9x+KOXjrnvTshp8s+7L?= =?Windows-1252?Q?9G/1VFF2bIih5fcNLuSb2mVKeaCjYK3nNUi8utw61HW5OtqiqxcpKFT0?= =?Windows-1252?Q?U0kadU4DRYVcDCEPS/de77oCMlVbRXYU2g2ePPcrfY4+MVz1AGRPpmP6?= =?Windows-1252?Q?vd3NOzGFQPCQy/dpYI71CJPJuU7VsDXzFt5cfOoHBDfyc38MiJE7Uq4O?= =?Windows-1252?Q?9GROHhZQPeBeNILK+zwgCOoyxg8+sR43GoFdWwzTN8QTAAVd4OjqGhba?= =?Windows-1252?Q?fZhG6Dk8yFKC0cMp0l6PJ3tZFiIpd1VOD1ipS9ISGgf9x3i6xq0mA7Ey?= =?Windows-1252?Q?D55ymip9tAjWDabgYCPs/gtuT006anR4rgDiXMcqfYt333nK5OHXSClz?= =?Windows-1252?Q?i03n9fGawszIrJoQTrL8=3D?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB388;3:nqaD612a1TBtCRZurEfKQwKcONwZhe/RNOO21z1mZO3FIm81nS3VHST1dtxfbhHW0y4xZvapb0AxNbQIpyUASAo734gBio1maCFkzsTqoelaySdMbITPfLXShIQpljLyPYX2G2jTgHEnbKoTbWOpNg==;10:E3fbqo5KD3y8vny4SBa3XT2XZhaqJ9Agpn8jYcLZn2l0NKyYMgBG2eMNbpcU5M1TjTMY8qC0DNhS/0f/9Bhf4qU2+BFBgzhgFeyvZ/m2EC8=;6:tVYP/tycI7f7GL18hRaBptiUf7Tj9BeyjUtrolobbbW68rZ5+l4o4896w4xD/VJa X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2015 16:10:25.9308 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB388 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 725 Lines: 19 On 06/11/2015 06:38 PM, Greg KH wrote: > On Thu, Jun 11, 2015 at 05:42:00PM +0300, Cristian Stoica wrote: > > Why? > This patch matches the input argument "size" of ioremap() with the output of request_mem_region() (which is resource_size_t). Since the latter is used as input to the former, the types should match (even though mapping more than 4G is not usually expected). There are a lot of such differences in the code and this is an attempt to reduce that. Cristian S. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/