projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s390/iucv: do not use arrays as argument
[firefly-linux-kernel-4.4.55.git]
/
net
/
iucv
/
iucv.c
diff --git
a/net/iucv/iucv.c
b/net/iucv/iucv.c
index 2a6a1fdd62c059eb857312d10fee38fa1c6bc86f..7eaa000c9258fb1e5073c1371dbd9ae6e8fb0599 100644
(file)
--- a/
net/iucv/iucv.c
+++ b/
net/iucv/iucv.c
@@
-713,7
+713,7
@@
static struct notifier_block __refdata iucv_cpu_notifier = {
*
* Sever an iucv path to free up the pathid. Used internally.
*/
*
* Sever an iucv path to free up the pathid. Used internally.
*/
-static int iucv_sever_pathid(u16 pathid, u8
userdata[16]
)
+static int iucv_sever_pathid(u16 pathid, u8
*userdata
)
{
union iucv_param *parm;
{
union iucv_param *parm;
@@
-876,7
+876,7
@@
static struct notifier_block iucv_reboot_notifier = {
* Returns the result of the CP IUCV call.
*/
int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler,
* Returns the result of the CP IUCV call.
*/
int iucv_path_accept(struct iucv_path *path, struct iucv_handler *handler,
- u8
userdata[16]
, void *private)
+ u8
*userdata
, void *private)
{
union iucv_param *parm;
int rc;
{
union iucv_param *parm;
int rc;
@@
-923,7
+923,7
@@
EXPORT_SYMBOL(iucv_path_accept);
* Returns the result of the CP IUCV call.
*/
int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler,
* Returns the result of the CP IUCV call.
*/
int iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler,
- u8
userid[8], u8 system[8], u8 userdata[16]
,
+ u8
*userid, u8 *system, u8 *userdata
,
void *private)
{
union iucv_param *parm;
void *private)
{
union iucv_param *parm;
@@
-985,7
+985,7
@@
EXPORT_SYMBOL(iucv_path_connect);
*
* Returns the result from the CP IUCV call.
*/
*
* Returns the result from the CP IUCV call.
*/
-int iucv_path_quiesce(struct iucv_path *path, u8
userdata[16]
)
+int iucv_path_quiesce(struct iucv_path *path, u8
*userdata
)
{
union iucv_param *parm;
int rc;
{
union iucv_param *parm;
int rc;
@@
-1017,7
+1017,7
@@
EXPORT_SYMBOL(iucv_path_quiesce);
*
* Returns the result from the CP IUCV call.
*/
*
* Returns the result from the CP IUCV call.
*/
-int iucv_path_resume(struct iucv_path *path, u8
userdata[16]
)
+int iucv_path_resume(struct iucv_path *path, u8
*userdata
)
{
union iucv_param *parm;
int rc;
{
union iucv_param *parm;
int rc;
@@
-1047,7
+1047,7
@@
out:
*
* Returns the result from the CP IUCV call.
*/
*
* Returns the result from the CP IUCV call.
*/
-int iucv_path_sever(struct iucv_path *path, u8
userdata[16]
)
+int iucv_path_sever(struct iucv_path *path, u8
*userdata
)
{
int rc;
{
int rc;