From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?U8O2cmVu?= Brinkmann Subject: Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations Date: Sun, 5 Apr 2015 18:36:37 -0700 Message-ID: <0838dec2-0adf-4e5e-a26c-f0752a0fd2f9@BL2FFO11FD031.protection.gbl> References: <1428169665.2775.53.camel@perches.com> <1428258294.2775.69.camel@perches.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Content-Disposition: inline In-Reply-To: <1428258294.2775.69.camel@perches.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Joe Perches Cc: linux-ia64@vger.kernel.org, kernel@stlinux.com, Nicolas Ferre , Timur Tabi , Stefan Agner , Patrice Chotard , Pat Gefre , Laxman Dewangan , "Maciej W. Rozycki" , Daniel Walker , sparclinux@vger.kernel.org, Peter Korsgaard , Sonic Zhang , Jiri Slaby , Alexandre Courbot , Russell King , Michal Simek , linux-serial@vger.kernel.org, Tobias Klauser , Stephen Warren , linux-arm-msm@vger.kernel.org, adi-buildroot-devel@lists.sourceforge.net, Thadeu Lima de Souza Cascardo , linux-tegra@vger.kernel.org, David Brown List-Id: linux-tegra@vger.kernel.org T24gU3VuLCAyMDE1LTA0LTA1IGF0IDExOjI0QU0gLTA3MDAsIEpvZSBQZXJjaGVzIHdyb3RlOgo+ IFRoZXNlIHN0cnVjdHMgY2FuIGJlIGNvbnN0LCBzbyBtYWtlIHRoZW0gY29uc3QuCj4gCj4gTWlz Y2VsbGFuZWE6Cj4gCj4gbyBBZGQgc3RhdGljIHRvIHN0cnVjdCB1YXJ0X29wcyBkZWNsYXJhdGlv biBpbiBiZmluX3Nwb3J0X3VhcnQKPiAKPiBTaWduZWQtb2ZmLWJ5OiBKb2UgUGVyY2hlcyA8am9l QHBlcmNoZXMuY29tPgo+IC0tLQpbLi4uXQoKRm9yOgo+ICBkcml2ZXJzL3R0eS9zZXJpYWwveGls aW54X3VhcnRwcy5jICAgICAgICAgIHwgMiArLQoKVGVzdGVkLWJ5OiBTw7ZyZW4gQnJpbmttYW5u IDxzb3Jlbi5icmlua21hbm5AeGlsaW54LmNvbT4KCglTw7ZyZW4KCl9fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCmxpbnV4LWFybS1rZXJuZWwgbWFpbGluZyBs aXN0CmxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5m cmFkZWFkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xpbnV4LWFybS1rZXJuZWwK From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752945AbbDFCWI (ORCPT ); Sun, 5 Apr 2015 22:22:08 -0400 Received: from mail-bn1bon0071.outbound.protection.outlook.com ([157.56.111.71]:38287 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752705AbbDFCWE (ORCPT ); Sun, 5 Apr 2015 22:22:04 -0400 X-Greylist: delayed 2710 seconds by postgrey-1.27 at vger.kernel.org; Sun, 05 Apr 2015 22:22:03 EDT Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; davemloft.net; dkim=none (message not signed) header.d=none; Date: Sun, 5 Apr 2015 18:36:37 -0700 From: =?utf-8?B?U8O2cmVu?= Brinkmann To: Joe Perches CC: Stefan Agner , Greg Kroah-Hartman , Jiri Slaby , , , Nicolas Ferre , Timur Tabi , , Pat Gefre , Laxman Dewangan , "Maciej W. Rozycki" , "Daniel Walker" , , Peter Korsgaard , Sonic Zhang , Alexandre Courbot , Russell King , Michal Simek , , , Tobias Klauser , "Stephen Warren" , , , Thadeu Lima de Souza Cascardo , , David Brown , Maxime Coquelin , Barry Song , Vineet Gupta , Patrice Chotard , Tony Prisk , Bryan Huntsman , Thierry Reding , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Srinivas Kandagatla , , linuxppc-dev , "David S. Miller" Subject: Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations References: <1428169665.2775.53.camel@perches.com> <1428258294.2775.69.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1428258294.2775.69.camel@perches.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-7.5.0.1018-21450.005 X-TM-AS-User-Approved-Sender: Yes;Yes;Yes Message-ID: <0838dec2-0adf-4e5e-a26c-f0752a0fd2f9@BL2FFO11FD031.protection.gbl> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;BMV:1;SFV:NSPM;SFS:(10009020)(6009001)(438002)(199003)(189002)(51704005)(24454002)(377424004)(31696002)(19580395003)(23676002)(76176999)(19580405001)(70736001)(47776003)(2950100001)(62966003)(77156002)(1496007)(6806004)(50986999)(54356999)(110136001)(53416004)(46102003)(85202003)(50466002)(74316001)(106466001)(87936001)(86362001)(104016003)(92566002)(85182001)(83506001)(7059030)(107986001)(23106004);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2FFO11HUB060;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB060; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(5002010);SRVR:BL2FFO11HUB060;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB060; X-Forefront-PRVS: 0538A71254 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2015 01:36:51.0038 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2FFO11HUB060 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2015-04-05 at 11:24AM -0700, Joe Perches wrote: > These structs can be const, so make them const. > > Miscellanea: > > o Add static to struct uart_ops declaration in bfin_sport_uart > > Signed-off-by: Joe Perches > --- [...] For: > drivers/tty/serial/xilinx_uartps.c | 2 +- Tested-by: Sören Brinkmann Sören From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?U8O2cmVu?= Brinkmann Date: Mon, 06 Apr 2015 01:36:37 +0000 Subject: Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations Message-Id: <0838dec2-0adf-4e5e-a26c-f0752a0fd2f9@BL2FFO11FD031.protection.gbl> List-Id: References: <1428169665.2775.53.camel@perches.com> <1428258294.2775.69.camel@perches.com> In-Reply-To: <1428258294.2775.69.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-arm-kernel@lists.infradead.org On Sun, 2015-04-05 at 11:24AM -0700, Joe Perches wrote: > These structs can be const, so make them const. > > Miscellanea: > > o Add static to struct uart_ops declaration in bfin_sport_uart > > Signed-off-by: Joe Perches > --- [...] For: > drivers/tty/serial/xilinx_uartps.c | 2 +- Tested-by: Sören Brinkmann Sören From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0061.outbound.protection.outlook.com [157.56.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id E41B31A04ED for ; Mon, 6 Apr 2015 12:07:15 +1000 (AEST) Date: Sun, 5 Apr 2015 18:36:37 -0700 From: =?utf-8?B?U8O2cmVu?= Brinkmann To: Joe Perches Subject: Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations References: <1428169665.2775.53.camel@perches.com> <1428258294.2775.69.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" In-Reply-To: <1428258294.2775.69.camel@perches.com> Message-ID: <0838dec2-0adf-4e5e-a26c-f0752a0fd2f9@BL2FFO11FD031.protection.gbl> Cc: linux-ia64@vger.kernel.org, kernel@stlinux.com, Nicolas Ferre , Timur Tabi , Stefan Agner , Patrice Chotard , Pat Gefre , Laxman Dewangan , "Maciej W. Rozycki" , Daniel Walker , sparclinux@vger.kernel.org, Sonic Zhang , Jiri Slaby , Alexandre Courbot , Russell King , Michal Simek , linux-serial@vger.kernel.org, Tobias Klauser , Stephen Warren , linux-arm-msm@vger.kernel.org, adi-buildroot-devel@lists.sourceforge.net, Thadeu Lima de Souza Cascardo , linux-tegra@vger.kernel.org, David Brown , linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Barry Song , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Tony Prisk , Bryan Huntsman , Thierry Reding , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Vineet Gupta , nios2-dev@lists.rocketboards.org, linuxppc-dev , "David S. Miller" , Srinivas Kandagatla List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, 2015-04-05 at 11:24AM -0700, Joe Perches wrote: > These structs can be const, so make them const. > > Miscellanea: > > o Add static to struct uart_ops declaration in bfin_sport_uart > > Signed-off-by: Joe Perches > --- [...] For: > drivers/tty/serial/xilinx_uartps.c | 2 +- Tested-by: Sören Brinkmann Sören From mboxrd@z Thu Jan 1 00:00:00 1970 From: soren.brinkmann@xilinx.com (=?utf-8?B?U8O2cmVu?= Brinkmann) Date: Sun, 5 Apr 2015 18:36:37 -0700 Subject: [PATCH V2] tty: serial: Add const to struct uart_ops declarations In-Reply-To: <1428258294.2775.69.camel@perches.com> References: <1428169665.2775.53.camel@perches.com> <1428258294.2775.69.camel@perches.com> Message-ID: <0838dec2-0adf-4e5e-a26c-f0752a0fd2f9@BL2FFO11FD031.protection.gbl> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sun, 2015-04-05 at 11:24AM -0700, Joe Perches wrote: > These structs can be const, so make them const. > > Miscellanea: > > o Add static to struct uart_ops declaration in bfin_sport_uart > > Signed-off-by: Joe Perches > --- [...] For: > drivers/tty/serial/xilinx_uartps.c | 2 +- Tested-by: S?ren Brinkmann S?ren From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?U8O2cmVu?= Brinkmann Date: Mon, 06 Apr 2015 01:36:37 +0000 Subject: Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations Message-Id: <0838dec2-0adf-4e5e-a26c-f0752a0fd2f9@BL2FFO11FD031.protection.gbl> List-Id: References: <1428169665.2775.53.camel@perches.com> <1428258294.2775.69.camel@perches.com> In-Reply-To: <1428258294.2775.69.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Joe Perches Cc: linux-ia64@vger.kernel.org, kernel@stlinux.com, Nicolas Ferre , Timur Tabi , Stefan Agner , Patrice Chotard , Pat Gefre , Laxman Dewangan , "Maciej W. Rozycki" , Daniel Walker , sparclinux@vger.kernel.org, Peter Korsgaard , Sonic Zhang , Jiri Slaby , Alexandre Courbot , Russell King , Michal Simek , linux-serial@vger.kernel.org, Tobias Klauser , Stephen Warren , linux-arm-msm@vger.kernel.org, adi-buildroot-devel@lists.sourceforge.net, Thadeu Lima de Souza Cascardo , linux-tegra@vger.kernel.org, David Brown On Sun, 2015-04-05 at 11:24AM -0700, Joe Perches wrote: > These structs can be const, so make them const. > > Miscellanea: > > o Add static to struct uart_ops declaration in bfin_sport_uart > > Signed-off-by: Joe Perches > --- [...] For: > drivers/tty/serial/xilinx_uartps.c | 2 +- Tested-by: Sören Brinkmann Sören