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
nexedi
linux
Commits
11e0f1a8
Commit
11e0f1a8
authored
Oct 18, 2010
by
Sylwester Nawrocki
Committed by
Mauro Carvalho Chehab
Oct 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] SR030PC30: Avoid use of uninitialized variables
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
c29bc4d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/media/video/sr030pc30.c
drivers/media/video/sr030pc30.c
+1
-1
No files found.
drivers/media/video/sr030pc30.c
View file @
11e0f1a8
...
...
@@ -326,7 +326,7 @@ static inline struct sr030pc30_info *to_sr030pc30(struct v4l2_subdev *sd)
static
inline
int
set_i2c_page
(
struct
sr030pc30_info
*
info
,
struct
i2c_client
*
client
,
unsigned
int
reg
)
{
int
ret
;
int
ret
=
0
;
u32
page
=
reg
>>
8
&
0xFF
;
if
(
info
->
i2c_reg_page
!=
page
&&
(
reg
&
0xFF
)
!=
0x03
)
{
...
...
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