]> err.no Git - linux-2.6/commit
[PATCH] uml: mostly const a structure
authorJeff Dike <jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:06 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:22 +0000 (10:51 -0800)
commita52f362f864f56238c9036f5c56f763a80e2ddd5
treef9288fdfb8988a0ec31f052e89b3dfca1a632e4d
parent99b0278f95fc9d55adf65133dc678167a88b632a
[PATCH] uml: mostly const a structure

The chan_opts structure is mostly const, and needs no locking.  Comment the
lack of locking on the one field that can change.

Make all the other fields const.  It turned out that console_open_chan didn't
use its chan_opts argument, so that is deleted from the function and its
callers.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/chan_kern.c
arch/um/drivers/ssl.c
arch/um/drivers/stdio_console.c
arch/um/include/chan_kern.h
arch/um/include/chan_user.h