From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752741AbbDFAQ1 (ORCPT ); Sun, 5 Apr 2015 20:16:27 -0400 Received: from smtprelay0014.hostedemail.com ([216.40.44.14]:53120 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752602AbbDFAQX (ORCPT ); Sun, 5 Apr 2015 20:16:23 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: X-HE-Tag: arch10_36ad489fc1508 X-Filterd-Recvd-Size: 3399 Message-ID: <1428279374.2775.78.camel@perches.com> Subject: Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations From: Joe Perches To: Stefan Agner Cc: Greg Kroah-Hartman , Jiri Slaby , linux-ia64@vger.kernel.org, kernel@stlinux.com, Nicolas Ferre , Timur Tabi , linux-kernel@vger.kernel.org, Pat Gefre , Laxman Dewangan , "Maciej W. Rozycki" , Daniel Walker , sparclinux@vger.kernel.org, Peter Korsgaard , Sonic Zhang , Alexandre Courbot , Russell King , Michal Simek , linux-arm-kernel@lists.infradead.org, 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 , =?ISO-8859-1?Q?S=F6ren?= Brinkmann , Maxime Coquelin , Barry Song , Vineet Gupta , Patrice Chotard , Tony Prisk , Bryan Huntsman , Thierry Reding , Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , Srinivas Kandagatla , nios2-dev@lists.rocketboards.org, linuxppc-dev , "David S. Miller" Date: Sun, 05 Apr 2015 17:16:14 -0700 In-Reply-To: References: <1428169665.2775.53.camel@perches.com> <1428258294.2775.69.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2015-04-06 at 01:09 +0200, Stefan Agner wrote: > On 2015-04-05 20:24, Joe Perches wrote: > > Still compiled only x86 and not cross-compiled or tested. > > Cross-compiled with multi_v7_defconfig [] > > drivers/tty/serial/fsl_lpuart.c | 4 ++-- > > Tested that driver on actual hardware, looks fine. > This driver seems to alter the startup function on initialization: > > CC drivers/video/of_display_timing.o > ../drivers/tty/serial/samsung.c: In function 's3c24xx_serial_init_port': > ../drivers/tty/serial/samsung.c:1702:3: error: assignment of member > 'startup' in read-only object > s3c24xx_serial_ops.startup = s3c64xx_serial_startup; > ^ Thanks Stefan. Then that one can't be const. > That is the only thing which popped up with multi_v7_defconfig. I appreciate the testing. Greg, Jiri, I'll resend with this fixed in a week or so after waiting for any other comment or sign of brokenness.