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
b3bde75d
Commit
b3bde75d
authored
Aug 09, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI Hotplug: fix compiler warnings in pciehp driver.
parent
2e17cc3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/pci/hotplug/pciehp_hpc.c
drivers/pci/hotplug/pciehp_hpc.c
+2
-2
No files found.
drivers/pci/hotplug/pciehp_hpc.c
View file @
b3bde75d
...
...
@@ -1017,7 +1017,7 @@ static irqreturn_t pcie_isr(int IRQ, void *dev_id, struct pt_regs *regs)
return
IRQ_HANDLED
;
}
static
int
hpc_get_max_lnk_speed
(
struct
slot
*
slot
,
enum
pci
e_link
_speed
*
value
)
static
int
hpc_get_max_lnk_speed
(
struct
slot
*
slot
,
enum
pci
_bus
_speed
*
value
)
{
struct
php_ctlr_state_s
*
php_ctlr
=
slot
->
ctrl
->
hpc_ctlr_handle
;
enum
pcie_link_speed
lnk_speed
;
...
...
@@ -1120,7 +1120,7 @@ static int hpc_get_max_lnk_width (struct slot *slot, enum pcie_link_width *value
return
retval
;
}
static
int
hpc_get_cur_lnk_speed
(
struct
slot
*
slot
,
enum
pci
e_link
_speed
*
value
)
static
int
hpc_get_cur_lnk_speed
(
struct
slot
*
slot
,
enum
pci
_bus
_speed
*
value
)
{
struct
php_ctlr_state_s
*
php_ctlr
=
slot
->
ctrl
->
hpc_ctlr_handle
;
enum
pcie_link_speed
lnk_speed
=
PCI_SPEED_UNKNOWN
;
...
...
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