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
ed3abd85
Commit
ed3abd85
authored
May 04, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: mpc.c warning fixes.
parent
b1816e00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
net/atm/mpc.c
net/atm/mpc.c
+4
-2
No files found.
net/atm/mpc.c
View file @
ed3abd85
...
@@ -324,7 +324,9 @@ static void stop_mpc(struct mpoa_client *mpc)
...
@@ -324,7 +324,9 @@ static void stop_mpc(struct mpoa_client *mpc)
return
;
return
;
}
}
static
const
char
*
__attribute__
((
unused
))
mpoa_device_type_string
(
char
type
)
static
const
char
*
mpoa_device_type_string
(
char
type
)
__attribute__
((
unused
));
static
const
char
*
mpoa_device_type_string
(
char
type
)
{
{
switch
(
type
)
{
switch
(
type
)
{
case
NON_MPOA
:
case
NON_MPOA
:
...
@@ -429,7 +431,7 @@ static void lane2_assoc_ind(struct net_device *dev, uint8_t *mac_addr,
...
@@ -429,7 +431,7 @@ static void lane2_assoc_ind(struct net_device *dev, uint8_t *mac_addr,
if
(
tlvs
==
NULL
)
return
;
if
(
tlvs
==
NULL
)
return
;
}
}
if
(
end_of_tlvs
-
tlvs
!=
0
)
if
(
end_of_tlvs
-
tlvs
!=
0
)
printk
(
"mpoa: (%s) lane2_assoc_ind: ignoring %d bytes of trailing TLV carbage
\n
"
,
printk
(
"mpoa: (%s) lane2_assoc_ind: ignoring %
Z
d bytes of trailing TLV carbage
\n
"
,
dev
->
name
,
end_of_tlvs
-
tlvs
);
dev
->
name
,
end_of_tlvs
-
tlvs
);
return
;
return
;
}
}
...
...
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