summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/smsgiucv_app.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-08-10 14:01:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-10 14:01:26 -0700
commit0d6ffdb8f151a2b685c7b45bde7ab2d49fc1bb00 (patch)
tree1768c906e87750dc897a2f113e335886d9b906e8 /drivers/s390/net/smsgiucv_app.c
parent7233e392760b3493095d3d5885cb15e44493d74a (diff)
parent7c8faa86290c1a2607d6b768a0b874ec392a5c2a (diff)
downloadblackbird-op-linux-0d6ffdb8f151a2b685c7b45bde7ab2d49fc1bb00.tar.gz
blackbird-op-linux-0d6ffdb8f151a2b685c7b45bde7ab2d49fc1bb00.zip
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
Diffstat (limited to 'drivers/s390/net/smsgiucv_app.c')
-rw-r--r--drivers/s390/net/smsgiucv_app.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/s390/net/smsgiucv_app.c b/drivers/s390/net/smsgiucv_app.c
index 137688790207..4d2ea4000422 100644
--- a/drivers/s390/net/smsgiucv_app.c
+++ b/drivers/s390/net/smsgiucv_app.c
@@ -180,6 +180,13 @@ static int __init smsgiucv_app_init(void)
goto fail_put_driver;
}
+ /* convert sender to uppercase characters */
+ if (sender) {
+ int len = strlen(sender);
+ while (len--)
+ sender[len] = toupper(sender[len]);
+ }
+
/* register with the smsgiucv device driver */
rc = smsg_register_callback(SMSG_PREFIX, smsg_app_callback);
if (rc) {
OpenPOWER on IntegriCloud