Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Stefan Agner <stefan@xxxxxxxx>
- Subject: Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations
- From: Joe Perches <joe@xxxxxxxxxxx>
- Date: Sun, 05 Apr 2015 17:16:14 -0700
- Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Jiri Slaby <jslaby@xxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, kernel@xxxxxxxxxxx, Nicolas Ferre <nicolas.ferre@xxxxxxxxx>, Timur Tabi <timur@xxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Pat Gefre <pfg@xxxxxxx>, Laxman Dewangan <ldewangan@xxxxxxxxxx>, "Maciej W. Rozycki" <macro@xxxxxxxxxxxxxx>, Daniel Walker <dwalker@xxxxxxxxxx>, sparclinux@xxxxxxxxxxxxxxx, Peter Korsgaard <jacmet@xxxxxxxxxx>, Sonic Zhang <sonic.zhang@xxxxxxxxxx>, Alexandre Courbot <gnurou@xxxxxxxxx>, Russell King <linux@xxxxxxxxxxxxxxxx>, Michal Simek <michal.simek@xxxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-serial@xxxxxxxxxxxxxxx, Tobias Klauser <tklauser@xxxxxxxxxx>, Stephen Warren <swarren@xxxxxxxxxxxxx>, linux-arm-msm@xxxxxxxxxxxxxxx, adi-buildroot-devel@xxxxxxxxxxxxxxxxxxxxx, Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxxxxxxxxxx>, linux-tegra@xxxxxxxxxxxxxxx, David Brown <davidb@xxxxxxxxxxxxxx>, Sören Brinkmann <soren.brinkmann@xxxxxxxxxx>, Maxime Coquelin <maxime.coquelin@xxxxxx>, Barry Song <baohua@xxxxxxxxxx>, Vineet Gupta <vgupta@xxxxxxxxxxxx>, Patrice Chotard <patrice.chotard@xxxxxx>, Tony Prisk <linux@xxxxxxxxxxxxxxx>, Bryan Huntsman <bryanh@xxxxxxxxxxxxxx>, Thierry Reding <thierry.reding@xxxxxxxxx>, Uwe Kleine-König <kernel@xxxxxxxxxxxxxx>, Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxx>, nios2-dev@xxxxxxxxxxxxxxxxxxxxxx, linuxppc-dev <linuxppc-dev@xxxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>
- In-reply-to: <d55b1a1240db66ae651cb99cd713694a@agner.ch>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1428169665.2775.53.camel@perches.com> <a938a0e86638588e5ccff85771fa3b95@agner.ch> <1428258294.2775.69.camel@perches.com> <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.
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]