]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
module: make perm const
authorDan Streetman <ddstreet@ieee.org>
Tue, 16 Jun 2015 20:47:52 +0000 (06:17 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Jun 2015 05:57:37 +0000 (15:27 +0930)
commit5104b7d7678b0029417f6ac08243773a77259ac6
treebf1a7a2703674d474db5618302cf8b5acf3f8adc
parent74c3dea355245c17ee407a3ce3ea34f55b40f2eb
module: make perm const

Change the struct kernel_param.perm field to a const, as it should never
be changed.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (cut from larger patch)
include/linux/moduleparam.h
kernel/params.c