mirror of https://gitee.com/openkylin/linux.git
dca4130639
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 |
||
---|---|---|
.. | ||
ieee80211 | ||
Kconfig | ||
Makefile | ||
dot11d.h | ||
ieee80211.h | ||
ieee80211_crypt.h | ||
r819xE_cmdpkt.c | ||
r819xE_cmdpkt.h | ||
r819xE_firmware.c | ||
r819xE_phy.c | ||
r819xE_phy.h | ||
r819xE_phyreg.h | ||
r8180_93cx6.c | ||
r8180_93cx6.h | ||
r8190_rtl8256.c | ||
r8190_rtl8256.h | ||
r8192E.h | ||
r8192E_core.c | ||
r8192E_dm.c | ||
r8192E_dm.h | ||
r8192E_hw.h | ||
r8192E_wx.c | ||
r8192E_wx.h | ||
r8192_pm.c | ||
r8192_pm.h |