Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidKernelMSM
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidKernelMSM
Commits
4f50a7f3
Commit
4f50a7f3
authored
Mar 17, 2014
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
Mar 17, 2014
Browse files
Options
Downloads
Plain Diff
Merge "usb: gadget: Fix KW error for NULL pointer check"
parents
6d99ae9a
f22a15db
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/usb/gadget/u_bam.c
+7
-3
7 additions, 3 deletions
drivers/usb/gadget/u_bam.c
with
7 additions
and
3 deletions
drivers/usb/gadget/u_bam.c
+
7
−
3
View file @
4f50a7f3
...
...
@@ -1068,12 +1068,16 @@ static void gbam2bam_connect_work(struct work_struct *w)
struct
usb_gadget
*
gadget
=
NULL
;
struct
teth_bridge_connect_params
connect_params
;
struct
teth_bridge_init_params
teth_bridge_params
;
struct
bam_ch_info
*
d
=
&
port
->
data_ch
;
struct
bam_ch_info
*
d
;
u32
sps_params
;
int
ret
;
unsigned
long
flags
;
if
(
port
)
if
(
!
port
)
{
pr_err
(
"%s: NULL port"
,
__func__
);
return
;
}
d
=
&
port
->
data_ch
;
dev
=
port_to_rmnet
(
port
->
gr
);
if
(
dev
&&
dev
->
cdev
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment