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
1d462e8d
Commit
1d462e8d
authored
Sep 19, 2002
by
David S. Miller
Committed by
Jeff Garzik
Sep 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings in e100 net driver
parent
f6f2c620
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/net/e100/e100_main.c
drivers/net/e100/e100_main.c
+4
-2
No files found.
drivers/net/e100/e100_main.c
View file @
1d462e8d
...
@@ -3740,8 +3740,8 @@ e100_ethtool_led_blink(struct net_device *dev, struct ifreq *ifr)
...
@@ -3740,8 +3740,8 @@ e100_ethtool_led_blink(struct net_device *dev, struct ifreq *ifr)
set_current_state
(
TASK_INTERRUPTIBLE
);
set_current_state
(
TASK_INTERRUPTIBLE
);
if
((
!
ecmd
.
data
)
||
(
ecmd
.
data
>
MAX_SCHEDULE_TIMEOUT
/
HZ
))
if
((
!
ecmd
.
data
)
||
(
ecmd
.
data
>
(
u32
)(
MAX_SCHEDULE_TIMEOUT
/
HZ
)
))
ecmd
.
data
=
MAX_SCHEDULE_TIMEOUT
/
HZ
;
ecmd
.
data
=
(
u32
)(
MAX_SCHEDULE_TIMEOUT
/
HZ
)
;
schedule_timeout
(
ecmd
.
data
*
HZ
);
schedule_timeout
(
ecmd
.
data
*
HZ
);
...
@@ -3839,6 +3839,7 @@ e100_setup_filter(struct e100_private *bdp)
...
@@ -3839,6 +3839,7 @@ e100_setup_filter(struct e100_private *bdp)
}
}
#ifdef CONFIG_PM
static
void
static
void
e100_do_wol
(
struct
pci_dev
*
pcid
,
struct
e100_private
*
bdp
)
e100_do_wol
(
struct
pci_dev
*
pcid
,
struct
e100_private
*
bdp
)
{
{
...
@@ -3853,6 +3854,7 @@ e100_do_wol(struct pci_dev *pcid, struct e100_private *bdp)
...
@@ -3853,6 +3854,7 @@ e100_do_wol(struct pci_dev *pcid, struct e100_private *bdp)
printk
(
KERN_ERR
"e100: config WOL failed
\n
"
);
printk
(
KERN_ERR
"e100: config WOL failed
\n
"
);
}
}
}
}
#endif
static
u16
static
u16
e100_get_ip_lbytes
(
struct
net_device
*
dev
)
e100_get_ip_lbytes
(
struct
net_device
*
dev
)
...
...
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