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
e50a1046
Commit
e50a1046
authored
Sep 03, 2003
by
Andrew Morton
Committed by
Jeff Garzik
Sep 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Fix 64-bit warnings in af_netlink.c
parent
3db762f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/netlink/af_netlink.c
net/netlink/af_netlink.c
+2
-2
No files found.
net/netlink/af_netlink.c
View file @
e50a1046
...
@@ -968,7 +968,7 @@ int netlink_post(int unit, struct sk_buff *skb)
...
@@ -968,7 +968,7 @@ int netlink_post(int unit, struct sk_buff *skb)
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_PROC_FS
static
struct
sock
*
netlink_seq_socket_idx
(
struct
seq_file
*
seq
,
loff_t
pos
)
static
struct
sock
*
netlink_seq_socket_idx
(
struct
seq_file
*
seq
,
loff_t
pos
)
{
{
int
i
;
long
i
;
struct
sock
*
s
;
struct
sock
*
s
;
struct
hlist_node
*
node
;
struct
hlist_node
*
node
;
loff_t
off
=
0
;
loff_t
off
=
0
;
...
@@ -1002,7 +1002,7 @@ static void *netlink_seq_next(struct seq_file *seq, void *v, loff_t *pos)
...
@@ -1002,7 +1002,7 @@ static void *netlink_seq_next(struct seq_file *seq, void *v, loff_t *pos)
s
=
sk_next
(
v
);
s
=
sk_next
(
v
);
if
(
!
s
)
{
if
(
!
s
)
{
int
i
=
(
int
)
seq
->
private
;
long
i
=
(
long
)
seq
->
private
;
while
(
++
i
<
MAX_LINKS
)
{
while
(
++
i
<
MAX_LINKS
)
{
s
=
sk_head
(
&
nl_table
[
i
]);
s
=
sk_head
(
&
nl_table
[
i
]);
...
...
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