test_power: Fix a bug in setting module parameter values
authorAndrey Gelman <andreyg@compulab.co.il>
Sun, 27 Jan 2013 20:16:33 +0000 (22:16 +0200)
committerAnton Vorontsov <anton@enomsg.org>
Tue, 19 Mar 2013 02:27:31 +0000 (19:27 -0700)
commit9239ebcffb9301eab75c638dcb702688884cc5d6
tree49d7c52c0abf730b9035de5d2a899400c3df1f91
parent6f8da5df8c451103e0043f73a00c90676da6be9e
test_power: Fix a bug in setting module parameter values

When the kernel loads a module, module params are processed prior to
calling module_init. As a result, setting module param value should not
have side effects, at least as long as the module has not been
initialized.

Signed-off-by: Andrey Gelman <andreyg@compulab.co.il>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/test_power.c
This page took 0.024994 seconds and 5 git commands to generate.