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
44bd49d5
Commit
44bd49d5
authored
Feb 19, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI Hotplug: fix build warnings on 64 bit processors
parent
d96e1fac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/pci/hotplug/cpqphp_sysfs.c
drivers/pci/hotplug/cpqphp_sysfs.c
+2
-2
drivers/pci/hotplug/pciehp_sysfs.c
drivers/pci/hotplug/pciehp_sysfs.c
+2
-2
drivers/pci/hotplug/shpchp_sysfs.c
drivers/pci/hotplug/shpchp_sysfs.c
+2
-2
No files found.
drivers/pci/hotplug/cpqphp_sysfs.c
View file @
44bd49d5
...
...
@@ -38,7 +38,7 @@
/* A few routines that create sysfs entries for the hot plug controller */
static
in
t
show_ctrl
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_
t
show_ctrl
(
struct
device
*
dev
,
char
*
buf
)
{
struct
pci_dev
*
pci_dev
;
struct
controller
*
ctrl
;
...
...
@@ -82,7 +82,7 @@ static int show_ctrl (struct device *dev, char *buf)
}
static
DEVICE_ATTR
(
ctrl
,
S_IRUGO
,
show_ctrl
,
NULL
);
static
in
t
show_dev
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_
t
show_dev
(
struct
device
*
dev
,
char
*
buf
)
{
struct
pci_dev
*
pci_dev
;
struct
controller
*
ctrl
;
...
...
drivers/pci/hotplug/pciehp_sysfs.c
View file @
44bd49d5
...
...
@@ -38,7 +38,7 @@
/* A few routines that create sysfs entries for the hot plug controller */
static
in
t
show_ctrl
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_
t
show_ctrl
(
struct
device
*
dev
,
char
*
buf
)
{
struct
pci_dev
*
pci_dev
;
struct
controller
*
ctrl
;
...
...
@@ -82,7 +82,7 @@ static int show_ctrl (struct device *dev, char *buf)
}
static
DEVICE_ATTR
(
ctrl
,
S_IRUGO
,
show_ctrl
,
NULL
);
static
in
t
show_dev
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_
t
show_dev
(
struct
device
*
dev
,
char
*
buf
)
{
struct
pci_dev
*
pci_dev
;
struct
controller
*
ctrl
;
...
...
drivers/pci/hotplug/shpchp_sysfs.c
View file @
44bd49d5
...
...
@@ -38,7 +38,7 @@
/* A few routines that create sysfs entries for the hot plug controller */
static
in
t
show_ctrl
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_
t
show_ctrl
(
struct
device
*
dev
,
char
*
buf
)
{
struct
pci_dev
*
pci_dev
;
struct
controller
*
ctrl
;
...
...
@@ -82,7 +82,7 @@ static int show_ctrl (struct device *dev, char *buf)
}
static
DEVICE_ATTR
(
ctrl
,
S_IRUGO
,
show_ctrl
,
NULL
);
static
in
t
show_dev
(
struct
device
*
dev
,
char
*
buf
)
static
ssize_
t
show_dev
(
struct
device
*
dev
,
char
*
buf
)
{
struct
pci_dev
*
pci_dev
;
struct
controller
*
ctrl
;
...
...
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