Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: [S390] dasd: tunable missing interrupt handler [S390] dasd: allocate fallback cqr for reserve/release [S390] topology: use default MC domain initializer [S390] initrd: change default load address [S390] cmm, smsgiucv_app: convert sender to uppercase [S390] cmm: add missing __init/__exit annotations [S390] cio: use all available paths for some internal I/O [S390] ccwreq: add ability to use all paths [S390] cio: ccw_device_online_store return -EINVAL in case of missing driver [S390] cio: Log the response from the unit check handler [S390] cio: CHSC SIOSL Support
This commit is contained in:
@@ -427,7 +427,7 @@ static struct notifier_block cmm_power_notifier = {
|
||||
.notifier_call = cmm_power_event,
|
||||
};
|
||||
|
||||
static int cmm_init(void)
|
||||
static int __init cmm_init(void)
|
||||
{
|
||||
int rc = -ENOMEM;
|
||||
|
||||
@@ -435,6 +435,13 @@ static int cmm_init(void)
|
||||
if (!cmm_sysctl_header)
|
||||
goto out_sysctl;
|
||||
#ifdef CONFIG_CMM_IUCV
|
||||
/* convert sender to uppercase characters */
|
||||
if (sender) {
|
||||
int len = strlen(sender);
|
||||
while (len--)
|
||||
sender[len] = toupper(sender[len]);
|
||||
}
|
||||
|
||||
rc = smsg_register_callback(SMSG_PREFIX, cmm_smsg_target);
|
||||
if (rc < 0)
|
||||
goto out_smsg;
|
||||
@@ -467,7 +474,7 @@ out_sysctl:
|
||||
}
|
||||
module_init(cmm_init);
|
||||
|
||||
static void cmm_exit(void)
|
||||
static void __exit cmm_exit(void)
|
||||
{
|
||||
unregister_sysctl_table(cmm_sysctl_header);
|
||||
#ifdef CONFIG_CMM_IUCV
|
||||
|
Reference in New Issue
Block a user