diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2015-09-18 16:06:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-22 01:03:04 +0200 |
commit | 91e60eb60bdf078fc58b8d2fd1ac12f3c09bb893 (patch) | |
tree | f7a4f4801941ddbed1ae567b56121ec2db1492f4 /drivers/s390/char/monreader.c | |
parent | qeth: add layer 2 RX/TX checksum offloading (diff) | |
download | linux-91e60eb60bdf078fc58b8d2fd1ac12f3c09bb893.tar.xz linux-91e60eb60bdf078fc58b8d2fd1ac12f3c09bb893.zip |
s390/iucv: do not use arrays as argument
The iucv code uses arrays as arguments. Even though this does not
really cause a problem, it could be misleading, since the compiler
turns array arguments into just a pointer argument. To be more
precise this patch changes the array arguments into pointers.
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/char/monreader.c')
-rw-r--r-- | drivers/s390/char/monreader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/monreader.c b/drivers/s390/char/monreader.c index b7d60306b0bc..fc94bfdceb95 100644 --- a/drivers/s390/char/monreader.c +++ b/drivers/s390/char/monreader.c @@ -229,7 +229,7 @@ static struct mon_msg *mon_next_message(struct mon_private *monpriv) /****************************************************************************** * IUCV handler * *****************************************************************************/ -static void mon_iucv_path_complete(struct iucv_path *path, u8 ipuser[16]) +static void mon_iucv_path_complete(struct iucv_path *path, u8 *ipuser) { struct mon_private *monpriv = path->private; @@ -237,7 +237,7 @@ static void mon_iucv_path_complete(struct iucv_path *path, u8 ipuser[16]) wake_up(&mon_conn_wait_queue); } -static void mon_iucv_path_severed(struct iucv_path *path, u8 ipuser[16]) +static void mon_iucv_path_severed(struct iucv_path *path, u8 *ipuser) { struct mon_private *monpriv = path->private; |