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
Raw File
Tip revision: 01fd3c2744540ae7554bf098a9615a8310c6fc13 authored by Aya Mahfouz on 14 December 2015, 23:37:57 UTC
tty: serial: constify sunhv_ops structs
Tip revision: 01fd3c2
Makefile
KASAN_SANITIZE := n

CFLAGS_REMOVE_kasan.o = -pg
# Function splitter causes unnecessary splits in __asan_load1/__asan_store1
# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533
CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)

obj-y := kasan.o report.o kasan_init.o
back to top