On 09/01/2016 10:51 AM, Julia Lawall wrote:
> Check for uart_ops structures that are only stored in the ops field of a
> uart_port structure. This field is declared const, so uart_ops structures
> that have this property can be declared as const also.
>
> The semantic patch that makes this change
On 08/31/2016 12:21 AM, Jiri Olsa wrote:
> On Mon, Aug 22, 2016 at 08:33:42PM +0300, Alexey Brodkin wrote:
>> With commit e3d09ec8126f ("tools lib traceevent: Export dynamic symbols
>> used by traceevent plugins") we started to add "--dynamic-list" in
>> LDFLAGS. One side-effect of that was inabili
Check for uart_ops structures that are only stored in the ops field of a
uart_port structure. This field is declared const, so uart_ops structures
that have this property can be declared as const also.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
//
@r d
Constify uart_ops structures.
---
drivers/tty/serial/altera_jtaguart.c |2 +-
drivers/tty/serial/altera_uart.c |2 +-
drivers/tty/serial/arc_uart.c|2 +-
drivers/tty/serial/atmel_serial.c|2 +-
drivers/tty/serial/bcm63xx_uart.c|2 +-
drivers/tty/serial/fsl
On Wed, Aug 31, 2016 at 12:05:14PM -0700, Vineet Gupta wrote:
> On 08/26/2016 10:31 AM, Vineet Gupta wrote:
> > On 08/25/2016 04:49 AM, Alexey Brodkin wrote:
> >> ...
> >>[PERF_COUNT_ARC_EDTLB] = "edtlb", /* D-TLB Miss */
> >>[PERF_COUNT_ARC_EITLB] = "eitlb", /* I-TLB Miss */
>