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
1a1dba32
Commit
1a1dba32
authored
Aug 02, 2009
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: sticore.c - check return values
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
1e0deabd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
drivers/video/console/sticore.c
drivers/video/console/sticore.c
+7
-2
No files found.
drivers/video/console/sticore.c
View file @
1a1dba32
...
...
@@ -957,9 +957,14 @@ static int __devinit sticore_pci_init(struct pci_dev *pd,
#ifdef CONFIG_PCI
unsigned
long
fb_base
,
rom_base
;
unsigned
int
fb_len
,
rom_len
;
int
err
;
struct
sti_struct
*
sti
;
pci_enable_device
(
pd
);
err
=
pci_enable_device
(
pd
);
if
(
err
<
0
)
{
dev_err
(
&
pd
->
dev
,
"Cannot enable PCI device
\n
"
);
return
err
;
}
fb_base
=
pci_resource_start
(
pd
,
0
);
fb_len
=
pci_resource_len
(
pd
,
0
);
...
...
@@ -1048,7 +1053,7 @@ static void __devinit sti_init_roms(void)
/* Register drivers for native & PCI cards */
register_parisc_driver
(
&
pa_sti_driver
);
pci_register_driver
(
&
pci_sti_driver
);
WARN_ON
(
pci_register_driver
(
&
pci_sti_driver
)
);
/* if we didn't find the given default sti, take the first one */
if
(
!
default_sti
)
...
...
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