Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
d62e345f
Commit
d62e345f
authored
Jul 31, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/misc' into for-linus
* fix/misc: ALSA: sound/aoa: Add kmalloc NULL tests
parents
6280b61a
f065fabc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sound/aoa/core/gpio-pmf.c
sound/aoa/core/gpio-pmf.c
+4
-0
No files found.
sound/aoa/core/gpio-pmf.c
View file @
d62e345f
...
...
@@ -182,6 +182,10 @@ static int pmf_set_notify(struct gpio_runtime *rt,
if
(
!
old
&&
notify
)
{
irq_client
=
kzalloc
(
sizeof
(
struct
pmf_irq_client
),
GFP_KERNEL
);
if
(
!
irq_client
)
{
err
=
-
ENOMEM
;
goto
out_unlock
;
}
irq_client
->
data
=
notif
;
irq_client
->
handler
=
pmf_handle_notify_irq
;
irq_client
->
owner
=
THIS_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