Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
0beab01e
Commit
0beab01e
authored
Aug 31, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into test
parents
0d888220
7e24bc1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/acpi/pci_slot.c
drivers/acpi/pci_slot.c
+2
-2
No files found.
drivers/acpi/pci_slot.c
View file @
0beab01e
...
@@ -58,7 +58,7 @@ ACPI_MODULE_NAME("pci_slot");
...
@@ -58,7 +58,7 @@ ACPI_MODULE_NAME("pci_slot");
MY_NAME , ## arg); \
MY_NAME , ## arg); \
} while (0)
} while (0)
#define SLOT_NAME_SIZE 2
0
/* Inspired by #define in acpiphp.h */
#define SLOT_NAME_SIZE 2
1
/* Inspired by #define in acpiphp.h */
struct
acpi_pci_slot
{
struct
acpi_pci_slot
{
acpi_handle
root_handle
;
/* handle of the root bridge */
acpi_handle
root_handle
;
/* handle of the root bridge */
...
@@ -150,7 +150,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
...
@@ -150,7 +150,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
return
AE_OK
;
return
AE_OK
;
}
}
snprintf
(
name
,
sizeof
(
name
),
"%
u"
,
(
u32
)
sun
);
snprintf
(
name
,
sizeof
(
name
),
"%
llu"
,
sun
);
pci_slot
=
pci_create_slot
(
pci_bus
,
device
,
name
,
NULL
);
pci_slot
=
pci_create_slot
(
pci_bus
,
device
,
name
,
NULL
);
if
(
IS_ERR
(
pci_slot
))
{
if
(
IS_ERR
(
pci_slot
))
{
err
(
"pci_create_slot returned %ld
\n
"
,
PTR_ERR
(
pci_slot
));
err
(
"pci_create_slot returned %ld
\n
"
,
PTR_ERR
(
pci_slot
));
...
...
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