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
nexedi
linux
Commits
23d77265
Commit
23d77265
authored
Aug 31, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Aug 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix bluetooth compile warnings
parent
371781cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
net/bluetooth/l2cap.c
net/bluetooth/l2cap.c
+1
-1
net/bluetooth/rfcomm/sock.c
net/bluetooth/rfcomm/sock.c
+2
-2
No files found.
net/bluetooth/l2cap.c
View file @
23d77265
...
...
@@ -200,7 +200,7 @@ static struct sock *__l2cap_get_sock_by_addr(u16 psm, bdaddr_t *src)
*/
static
struct
sock
*
__l2cap_get_sock_by_psm
(
int
state
,
u16
psm
,
bdaddr_t
*
src
)
{
struct
sock
*
sk
,
*
sk1
=
NULL
;
struct
sock
*
sk
=
NULL
,
*
sk1
=
NULL
;
struct
hlist_node
*
node
;
sk_for_each
(
sk
,
node
,
&
l2cap_sk_list
.
head
)
{
...
...
net/bluetooth/rfcomm/sock.c
View file @
23d77265
...
...
@@ -114,7 +114,7 @@ static void rfcomm_sk_state_change(struct rfcomm_dlc *d, int err)
/* ---- Socket functions ---- */
static
struct
sock
*
__rfcomm_get_sock_by_addr
(
u8
channel
,
bdaddr_t
*
src
)
{
struct
sock
*
sk
;
struct
sock
*
sk
=
NULL
;
struct
hlist_node
*
node
;
sk_for_each
(
sk
,
node
,
&
rfcomm_sk_list
.
head
)
{
...
...
@@ -131,7 +131,7 @@ static struct sock *__rfcomm_get_sock_by_addr(u8 channel, bdaddr_t *src)
*/
static
struct
sock
*
__rfcomm_get_sock_by_channel
(
int
state
,
u8
channel
,
bdaddr_t
*
src
)
{
struct
sock
*
sk
,
*
sk1
=
NULL
;
struct
sock
*
sk
=
NULL
,
*
sk1
=
NULL
;
struct
hlist_node
*
node
;
sk_for_each
(
sk
,
node
,
&
rfcomm_sk_list
.
head
)
{
...
...
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