android_kernel_xiaomi_sm8350/arch/um
Paolo 'Blaisorblade' Giarrusso 1ba0ce6f9c [PATCH] uml: mmapper - remove just added but wrong "const" attribute
When enabling the mmapper driver I got warnings because this "const"
miscdevice structure is passed to function as non-const pointer; unlike struct
tty_operations, however, I verified that misc_{de,}register _do_ modify their
parameter, so this const attribute must be removed.

Since the purpose of the change was to guarantee that no lock was needed, add
a comment to prove this differently.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-20 10:26:36 -07:00
..
drivers [PATCH] uml: mmapper - remove just added but wrong "const" attribute 2006-10-20 10:26:36 -07:00
include [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
kernel [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
os-Linux [PATCH] uml: cleanup run_helper() API to fix a leak 2006-10-20 10:26:36 -07:00
scripts
sys-i386 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] make UML compile (FC6/x86-64) 2006-10-15 14:18:39 -07:00
config.release
defconfig
Kconfig [PATCH] uml: use DEFCONFIG_LIST to avoid reading host's config 2006-10-20 10:26:36 -07:00
Kconfig.char [PATCH] uml: kconfig - silence warning 2006-10-20 10:26:36 -07:00
Kconfig.debug
Kconfig.i386 [PATCH] uml: allow finer tuning for host VMSPLIT setting 2006-10-11 11:14:21 -07:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64
Makefile Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00
Makefile-i386
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: allow using again x86/x86_64 crypto code 2006-10-11 11:14:20 -07:00