diff options
author | Rusty Russell <[email protected]> | 2010-08-11 23:04:21 -0600 |
---|---|---|
committer | Rusty Russell <[email protected]> | 2010-08-11 23:04:27 +0930 |
commit | dca41306395eab37e222ff9e72765e692fcc7251 (patch) | |
tree | 9e61d3d3d60933524c09cf6e82b70733352df514 /scripts/basic/docproc.c | |
parent | 546970bc6afc7fb37447fbac09b82c7884662c21 (diff) |
param: remove unnecessary writable charp
sysfs-writable charp arguments need to be locked against modification
(since the old ones may be kfreed underneath us). String arguments
are much simpler, so use them for small strings (eg. IFNAMSIZ).
lkdtm only uses the parameters at module initialization time, so there's
not much point making them writable.
Signed-off-by: Rusty Russell <[email protected]>
Reviewed-by: Takashi Iwai <[email protected]>
Tested-by: Phil Carmody <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: M. Mohan Kumar <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Jeff Mahoney <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions