Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
848c52dd
Commit
848c52dd
authored
Oct 11, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/bluetooth/rfcomm/sock.c: Update for new sendmsg/recvmsg args.
parent
a71b9b1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
net/bluetooth/rfcomm/sock.c
net/bluetooth/rfcomm/sock.c
+5
-4
No files found.
net/bluetooth/rfcomm/sock.c
View file @
848c52dd
...
@@ -480,8 +480,8 @@ static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *
...
@@ -480,8 +480,8 @@ static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *
return
0
;
return
0
;
}
}
static
int
rfcomm_sock_sendmsg
(
struct
socket
*
sock
,
struct
msghdr
*
msg
,
int
len
,
static
int
rfcomm_sock_sendmsg
(
struct
kiocb
*
iocb
,
struct
socket
*
sock
,
struct
scm_cookie
*
scm
)
struct
msghdr
*
msg
,
int
len
,
struct
scm_cookie
*
scm
)
{
{
struct
sock
*
sk
=
sock
->
sk
;
struct
sock
*
sk
=
sock
->
sk
;
struct
rfcomm_dlc
*
d
=
rfcomm_pi
(
sk
)
->
dlc
;
struct
rfcomm_dlc
*
d
=
rfcomm_pi
(
sk
)
->
dlc
;
...
@@ -554,8 +554,9 @@ static long rfcomm_sock_data_wait(struct sock *sk, long timeo)
...
@@ -554,8 +554,9 @@ static long rfcomm_sock_data_wait(struct sock *sk, long timeo)
return
timeo
;
return
timeo
;
}
}
static
int
rfcomm_sock_recvmsg
(
struct
socket
*
sock
,
struct
msghdr
*
msg
,
int
size
,
static
int
rfcomm_sock_recvmsg
(
struct
kiocb
*
iocb
,
struct
socket
*
sock
,
int
flags
,
struct
scm_cookie
*
scm
)
struct
msghdr
*
msg
,
int
size
,
int
flags
,
struct
scm_cookie
*
scm
)
{
{
struct
sock
*
sk
=
sock
->
sk
;
struct
sock
*
sk
=
sock
->
sk
;
int
target
,
err
=
0
,
copied
=
0
;
int
target
,
err
=
0
,
copied
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment