https://github.com/torvalds/linux
Revision 01fd3c2744540ae7554bf098a9615a8310c6fc13 authored by Aya Mahfouz on 14 December 2015, 23:37:57 UTC, committed by David S. Miller on 24 December 2015, 17:04:18 UTC
Constifies sunhv_ops structures in tty's serial
driver since they are not modified after their
initialization.

Detected and found using Coccinelle.

Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9bcfd78
History
Tip revision: 01fd3c2744540ae7554bf098a9615a8310c6fc13 authored by Aya Mahfouz on 14 December 2015, 23:37:57 UTC
tty: serial: constify sunhv_ops structs
Tip revision: 01fd3c2
File Mode Size
Makefile -rw-r--r-- 301 bytes
kasan.c -rw-r--r-- 12.9 KB
kasan.h -rw-r--r-- 2.0 KB
kasan_init.c -rw-r--r-- 4.1 KB
report.c -rw-r--r-- 8.2 KB

back to top