diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2014-01-20 16:43:33 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-01-22 14:02:15 +0100 |
commit | 7e2e2b96f50d17f301f1ee5505bf949c1d90204e (patch) | |
tree | da300e53a2c5f4de9bd124238dffbfc5b048bc3b /arch/s390 | |
parent | s390/zcrypt: remove zcrypt kmsg documentation again (diff) | |
download | linux-7e2e2b96f50d17f301f1ee5505bf949c1d90204e.tar.xz linux-7e2e2b96f50d17f301f1ee5505bf949c1d90204e.zip |
s390/xpram: don't modify module parameters
During parsing of the sizes array the pointer to the particular
string is lost. Keep it by using an extra pointer to store the end
position of the parsed string. Keeping these parameters accessible
can be helpful for debugging purposes and for userspace reading
the parameters at runtime via sysfs. Also this will ensure that the
memory is freed at module unload time.
Reported-by: Michael Veigel <veigel@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions