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
11d08a01
Commit
11d08a01
authored
Jun 16, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: fix up sparse warnings in ax8817x driver
parent
72805f2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/usb/net/ax8817x.c
drivers/usb/net/ax8817x.c
+3
-3
No files found.
drivers/usb/net/ax8817x.c
View file @
11d08a01
...
...
@@ -445,7 +445,7 @@ static int ax_phy_cmd_callback(struct ax8817x_info *ax_info,
req
->
devreq
.
wIndex
=
cpu_to_le16
(
MII_BMSR
);
req
->
devreq
.
wLength
=
cpu_to_le16
(
2
);
req
->
data_size
=
2
;
(
long
)
req
->
priv
=
0
;
/* This is the retry count */
req
->
priv
=
0
;
/* This is the retry count */
return
1
;
/* Done reading BMSR */
...
...
@@ -948,7 +948,7 @@ static void mdio_write(struct net_device *dev, int phy_id, int loc,
write_mii_word
(
ax_info
,
phy_id
,
loc
,
val
);
}
static
int
ax8817x_ethtool_ioctl
(
struct
net_device
*
net
,
void
*
uaddr
)
static
int
ax8817x_ethtool_ioctl
(
struct
net_device
*
net
,
void
__user
*
uaddr
)
{
struct
ax8817x_info
*
ax_info
;
int
cmd
;
...
...
@@ -1056,7 +1056,7 @@ static int ax8817x_ioctl(struct net_device *net, struct ifreq *ifr,
switch
(
cmd
)
{
case
SIOCETHTOOL
:
res
=
ax8817x_ethtool_ioctl
(
net
,
ifr
->
ifr_data
);
res
=
ax8817x_ethtool_ioctl
(
net
,
(
void
__user
*
)
ifr
->
ifr_data
);
break
;
case
SIOCGMIIPHY
:
/* Get address of PHY in use */
case
SIOCGMIIREG
:
/* Read from MII PHY register */
...
...
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