Alan Stern
ad84e4a9ef
USB: g_printer: fix bug in module parameter definitions
...
This patch (as1442) fixes a bug in g_printer: Module parameters should
not be marked "__initdata" if they are accessible in sysfs (i.e., if
the mode value in the module_param() macro is nonzero). Otherwise
attempts to access the parameters will cause addressing violations.
Character-string module parameters must not be marked "__initdata"
if the module can be unloaded, because the kernel needs to access the
parameter variable at unload time in order to free the
dynamically-allocated string.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Roland Kletzing <devzero@web.de>
CC: Craig W. Nadler <craig@nadler.us>
CC: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-22 18:38:58 -08:00
..
2010-11-11 05:51:15 -08:00
2010-10-24 13:41:39 -07:00
2010-07-18 20:39:10 +01:00
2010-12-16 13:36:12 -08:00
2010-03-02 14:54:57 -08:00
2010-10-22 10:21:26 -07:00
2010-10-22 10:21:26 -07:00
2010-12-10 14:23:34 -08:00
2010-12-10 14:23:33 -08:00
2010-12-16 13:32:37 -08:00
2010-12-16 13:32:37 -08:00
2010-12-22 12:25:34 -08:00
2010-05-20 13:21:43 -07:00
2010-10-22 10:21:25 -07:00
2010-11-11 06:19:35 -08:00
2010-05-20 13:21:43 -07:00
2010-10-22 10:21:26 -07:00
2010-10-22 10:21:35 -07:00
2010-08-10 14:25:42 +02:00
2010-05-20 13:21:43 -07:00
2010-06-30 08:16:06 -07:00
2010-12-16 10:05:06 -08:00
2010-11-17 08:59:32 -08:00
2010-10-22 10:21:26 -07:00
2010-11-11 05:58:49 -08:00
2010-12-10 14:29:43 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:43 -07:00
2010-03-30 22:02:32 +09:00
2010-10-22 10:21:26 -07:00
2010-03-30 22:02:32 +09:00
2010-08-02 16:43:15 -03:00
2010-08-02 16:43:15 -03:00
2010-11-11 05:58:48 -08:00
2010-12-03 11:05:09 +01:00
2010-10-22 10:21:25 -07:00
2010-10-24 13:41:39 -07:00
2010-11-17 13:24:46 -08:00
2010-12-15 09:29:38 -08:00
2010-10-22 10:21:25 -07:00
2010-10-22 10:22:04 -07:00
2010-11-11 06:57:24 -08:00
2010-10-22 10:21:26 -07:00
2011-01-13 10:05:56 -08:00
2010-11-11 05:51:15 -08:00
2010-10-29 04:16:28 -04:00
2011-01-22 18:36:43 -08:00
2011-01-13 10:05:56 -08:00
2010-10-22 10:21:19 -07:00
2010-10-22 10:21:25 -07:00
2010-10-22 10:21:25 -07:00
2010-06-02 16:26:13 +09:00
2010-12-10 14:29:43 -08:00
2010-11-11 05:58:49 -08:00
2010-10-22 10:21:26 -07:00
2010-11-30 16:51:21 -08:00
2010-11-30 16:51:21 -08:00
2010-11-30 16:51:21 -08:00
2010-12-10 14:29:43 -08:00
2010-10-22 10:21:25 -07:00
2010-10-22 10:21:26 -07:00
2010-10-25 13:46:56 -07:00
2011-01-22 18:36:43 -08:00
2011-01-22 18:38:58 -08:00
2010-10-22 10:21:25 -07:00
2010-10-24 13:41:39 -07:00
2010-05-20 13:21:36 -07:00
2010-10-22 10:22:18 -07:00
2010-10-22 10:21:34 -07:00
2010-10-24 13:41:39 -07:00
2010-09-03 17:33:40 -07:00
2010-10-22 10:21:25 -07:00
2010-10-22 10:21:25 -07:00
2010-10-22 10:21:26 -07:00
2010-11-13 11:55:17 +01:00
2010-12-03 12:05:35 -08:00
2011-01-07 16:58:04 -08:00
2010-12-10 14:29:43 -08:00
2010-11-11 07:03:48 -08:00
2010-07-11 17:45:10 -03:00
2010-07-11 17:45:10 -03:00
2010-08-23 20:50:14 -07:00
2010-07-11 17:45:10 -03:00
2010-08-02 16:43:15 -03:00
2010-10-22 10:21:26 -07:00
2010-10-22 10:21:25 -07:00