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
2f30d9ff
Commit
2f30d9ff
authored
Oct 02, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: manifest: some minor sparse warning fixups.
parent
322543a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/staging/greybus/manifest.c
drivers/staging/greybus/manifest.c
+2
-2
No files found.
drivers/staging/greybus/manifest.c
View file @
2f30d9ff
...
@@ -176,7 +176,7 @@ static char *gb_string_get(u8 string_id)
...
@@ -176,7 +176,7 @@ static char *gb_string_get(u8 string_id)
* for the functions that use them. Returns the number of interfaces
* for the functions that use them. Returns the number of interfaces
* set up for the given module, or 0 if there is an error.
* set up for the given module, or 0 if there is an error.
*/
*/
u32
gb_manifest_parse_cports
(
struct
gb_interface
*
interface
)
static
u32
gb_manifest_parse_cports
(
struct
gb_interface
*
interface
)
{
{
u32
count
=
0
;
u32
count
=
0
;
...
@@ -259,7 +259,7 @@ static u32 gb_manifest_parse_interfaces(struct gb_module *gmod)
...
@@ -259,7 +259,7 @@ static u32 gb_manifest_parse_interfaces(struct gb_module *gmod)
return
count
;
return
count
;
}
}
struct
gb_module
*
gb_manifest_parse_module
(
struct
manifest_desc
*
module_desc
)
st
atic
st
ruct
gb_module
*
gb_manifest_parse_module
(
struct
manifest_desc
*
module_desc
)
{
{
struct
greybus_descriptor
*
desc
=
module_desc
->
data
;
struct
greybus_descriptor
*
desc
=
module_desc
->
data
;
struct
greybus_descriptor_module
*
desc_module
=
&
desc
->
module
;
struct
greybus_descriptor_module
*
desc_module
=
&
desc
->
module
;
...
...
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