Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
1ee95216
Commit
1ee95216
authored
Aug 28, 2006
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix __must_check warnings in drivers/usb/host/
Signed-off-by:
Greg Kroah-Hartman
<
gregkh@suse.de
>
parent
657b6717
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
drivers/usb/host/ehci-dbg.c
drivers/usb/host/ehci-dbg.c
+4
-3
drivers/usb/host/ohci-dbg.c
drivers/usb/host/ohci-dbg.c
+4
-3
No files found.
drivers/usb/host/ehci-dbg.c
View file @
1ee95216
...
@@ -785,10 +785,11 @@ static CLASS_DEVICE_ATTR (registers, S_IRUGO, show_registers, NULL);
...
@@ -785,10 +785,11 @@ static CLASS_DEVICE_ATTR (registers, S_IRUGO, show_registers, NULL);
static
inline
void
create_debug_files
(
struct
ehci_hcd
*
ehci
)
static
inline
void
create_debug_files
(
struct
ehci_hcd
*
ehci
)
{
{
struct
class_device
*
cldev
=
ehci_to_hcd
(
ehci
)
->
self
.
class_dev
;
struct
class_device
*
cldev
=
ehci_to_hcd
(
ehci
)
->
self
.
class_dev
;
int
retval
;
class_device_create_file
(
cldev
,
&
class_device_attr_async
);
retval
=
class_device_create_file
(
cldev
,
&
class_device_attr_async
);
class_device_create_file
(
cldev
,
&
class_device_attr_periodic
);
retval
=
class_device_create_file
(
cldev
,
&
class_device_attr_periodic
);
class_device_create_file
(
cldev
,
&
class_device_attr_registers
);
retval
=
class_device_create_file
(
cldev
,
&
class_device_attr_registers
);
}
}
static
inline
void
remove_debug_files
(
struct
ehci_hcd
*
ehci
)
static
inline
void
remove_debug_files
(
struct
ehci_hcd
*
ehci
)
...
...
drivers/usb/host/ohci-dbg.c
View file @
1ee95216
...
@@ -685,10 +685,11 @@ static CLASS_DEVICE_ATTR (registers, S_IRUGO, show_registers, NULL);
...
@@ -685,10 +685,11 @@ static CLASS_DEVICE_ATTR (registers, S_IRUGO, show_registers, NULL);
static
inline
void
create_debug_files
(
struct
ohci_hcd
*
ohci
)
static
inline
void
create_debug_files
(
struct
ohci_hcd
*
ohci
)
{
{
struct
class_device
*
cldev
=
ohci_to_hcd
(
ohci
)
->
self
.
class_dev
;
struct
class_device
*
cldev
=
ohci_to_hcd
(
ohci
)
->
self
.
class_dev
;
int
retval
;
class_device_create_file
(
cldev
,
&
class_device_attr_async
);
retval
=
class_device_create_file
(
cldev
,
&
class_device_attr_async
);
class_device_create_file
(
cldev
,
&
class_device_attr_periodic
);
retval
=
class_device_create_file
(
cldev
,
&
class_device_attr_periodic
);
class_device_create_file
(
cldev
,
&
class_device_attr_registers
);
retval
=
class_device_create_file
(
cldev
,
&
class_device_attr_registers
);
ohci_dbg
(
ohci
,
"created debug files
\n
"
);
ohci_dbg
(
ohci
,
"created debug files
\n
"
);
}
}
...
...
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