Tag: 04b757dfd26cee24bc62ed815cd87efbf10ef2fc

tty: constify tty_port_operations structs

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Constifies tty_port_operations structures in the tty driver since they are not modified after their initialization. Detected and found using Coccinelle. Suggested-by: Julia Lawall Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman — drivers/tty/goldfish.c | 2 +- drivers/tty/mxser.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.