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>
This commit is contained in:

committed by
David S. Miller

parent
4d7def2a12
commit
91e60eb60b
@@ -95,11 +95,10 @@ static void afiucv_hs_callback_txnotify(struct sk_buff *, enum iucv_tx_notify);
|
||||
/* Call Back functions */
|
||||
static void iucv_callback_rx(struct iucv_path *, struct iucv_message *);
|
||||
static void iucv_callback_txdone(struct iucv_path *, struct iucv_message *);
|
||||
static void iucv_callback_connack(struct iucv_path *, u8 ipuser[16]);
|
||||
static int iucv_callback_connreq(struct iucv_path *, u8 ipvmid[8],
|
||||
u8 ipuser[16]);
|
||||
static void iucv_callback_connrej(struct iucv_path *, u8 ipuser[16]);
|
||||
static void iucv_callback_shutdown(struct iucv_path *, u8 ipuser[16]);
|
||||
static void iucv_callback_connack(struct iucv_path *, u8 *);
|
||||
static int iucv_callback_connreq(struct iucv_path *, u8 *, u8 *);
|
||||
static void iucv_callback_connrej(struct iucv_path *, u8 *);
|
||||
static void iucv_callback_shutdown(struct iucv_path *, u8 *);
|
||||
|
||||
static struct iucv_sock_list iucv_sk_list = {
|
||||
.lock = __RW_LOCK_UNLOCKED(iucv_sk_list.lock),
|
||||
|
Reference in New Issue
Block a user