linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Stefan Agner <stefan@agner.ch>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jslaby@suse.cz>,
	linux-ia64@vger.kernel.org, kernel@stlinux.com,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Timur Tabi <timur@tabi.org>,
	linux-kernel@vger.kernel.org, Pat Gefre <pfg@sgi.com>,
	Laxman Dewangan <ldewangan@nvidia.com>,
	"Maciej W. Rozycki" <macro@linux-mips.org>,
	Daniel Walker <dwalker@fifo99.com>,
	sparclinux@vger.kernel.org, Peter Korsgaard <jacmet@sunsite.dk>,
	Sonic Zhang <sonic.zhang@analog.com>,
	Alexandre Courbot <gnurou@gmail.com>,
	Russell King <linux@arm.linux.org.uk>,
	Michal Simek <michal.simek@xilinx.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-serial@vger.kernel.org,
	Tobias Klauser <tklauser@distanz.ch>,
	Stephen Warren <swarren@wwwdotorg.org>,
	linux-arm-msm@vger.kernel.org,
	adi-buildroot-devel@lists.sourceforge.net,
	Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>linux
Subject: Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations
Date: Sun, 05 Apr 2015 17:16:14 -0700	[thread overview]
Message-ID: <1428279374.2775.78.camel@perches.com> (raw)
In-Reply-To: <d55b1a1240db66ae651cb99cd713694a@agner.ch>

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.

  reply	other threads:[~2015-04-06  0:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-04 17:47 [PATCH] tty: serial: Add const to struct uart_ops declarations Joe Perches
2015-04-04 22:04 ` Stefan Agner
2015-04-05 18:24   ` [PATCH V2] " Joe Perches
2015-04-05 22:23     ` Maciej W. Rozycki
     [not found]     ` <1428258294.2775.69.camel-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2015-04-05 23:09       ` Stefan Agner
2015-04-06  0:16         ` Joe Perches [this message]
2015-04-06  1:36     ` Sören Brinkmann
2015-04-07  7:14     ` Patrice Chotard
2015-04-07  7:49     ` Tobias Klauser
2015-04-07 12:46     ` Vineet Gupta
2015-04-09  9:48     ` Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428279374.2775.78.camel@perches.com \
    --to=joe@perches.com \
    --cc=adi-buildroot-devel@lists.sourceforge.net \
    --cc=cascardo@linux.vnet.ibm.com \
    --cc=dwalker@fifo99.com \
    --cc=gnurou@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jacmet@sunsite.dk \
    --cc=jslaby@suse.cz \
    --cc=kernel@stlinux.com \
    --cc=ldewangan@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=macro@linux-mips.org \
    --cc=michal.simek@xilinx.com \
    --cc=nicolas.ferre@atmel.com \
    --cc=pfg@sgi.com \
    --cc=sonic.zhang@analog.com \
    --cc=sparclinux@vger.kernel.org \
    --cc=stefan@agner.ch \
    --cc=swarren@wwwdotorg.org \
    --cc=timur@tabi.org \
    --cc=tklauser@distanz.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).