summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-07-27 10:40:16 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2010-07-27 10:40:16 +1000
commit449247e7d39e76ad874dd5cbd73d6698ac84ee7c (patch)
treeff5a69e515f6860e01003260b827bb927aaf9387 /arch/um
parent6420b4ef9280678bf3399f49cd309b2bc8cb3ca5 (diff)
param:remove-useless-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 <rusty@rustcorp.com.au> Reviewed-by: Takashi Iwai <tiwai@suse.de> Tested-by: Phil Carmody <ext-phil.2.carmody@nokia.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: M. Mohan Kumar <mohan@in.ibm.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: Jeff Mahoney <jeffm@suse.com> Cc: Julia Lawall <julia@diku.dk> Cc: devel@driverdev.osuosl.org
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions