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
5460a9d0
Commit
5460a9d0
authored
Oct 14, 2007
by
Mark M. Hoffman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hwmon: (sis5595) fix sparse warning
Signed-off-by:
Mark M. Hoffman
<
mhoffman@lightlink.com
>
parent
d58df9cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
drivers/hwmon/sis5595.c
drivers/hwmon/sis5595.c
+4
-5
No files found.
drivers/hwmon/sis5595.c
View file @
5460a9d0
...
...
@@ -739,11 +739,10 @@ static int __devinit sis5595_pci_probe(struct pci_dev *dev,
int
*
i
;
for
(
i
=
blacklist
;
*
i
!=
0
;
i
++
)
{
struct
pci_dev
*
dev
;
dev
=
pci_get_device
(
PCI_VENDOR_ID_SI
,
*
i
,
NULL
);
if
(
dev
)
{
dev_err
(
&
dev
->
dev
,
"Looked for SIS5595 but found unsupported device %.4x
\n
"
,
*
i
);
pci_dev_put
(
dev
);
struct
pci_dev
*
d
;
if
((
d
=
pci_get_device
(
PCI_VENDOR_ID_SI
,
*
i
,
NULL
)))
{
dev_err
(
&
d
->
dev
,
"Looked for SIS5595 but found unsupported device %.4x
\n
"
,
*
i
);
pci_dev_put
(
d
);
return
-
ENODEV
;
}
}
...
...
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