diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-12 07:04:21 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-08-11 15:34:27 +0200 |
commit | dca41306395eab37e222ff9e72765e692fcc7251 (patch) | |
tree | 9e61d3d3d60933524c09cf6e82b70733352df514 /drivers/scsi/bfa | |
parent | param: add kerneldoc to moduleparam.h (diff) | |
download | linux-dca41306395eab37e222ff9e72765e692fcc7251.tar.xz linux-dca41306395eab37e222ff9e72765e692fcc7251.zip |
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 <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 'drivers/scsi/bfa')
0 files changed, 0 insertions, 0 deletions