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
5e7abccd
Commit
5e7abccd
authored
Apr 02, 2007
by
Stefan Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieee1394: eth1394: .probe and .update may sleep
Signed-off-by:
Stefan Richter
<
stefanr@s5r6.in-berlin.de
>
parent
efbeccf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
drivers/ieee1394/eth1394.c
drivers/ieee1394/eth1394.c
+4
-8
No files found.
drivers/ieee1394/eth1394.c
View file @
5e7abccd
...
...
@@ -354,13 +354,11 @@ static int eth1394_probe(struct device *dev)
if
(
!
hi
)
return
-
ENOENT
;
new_node
=
kmalloc
(
sizeof
(
*
new_node
),
in_interrupt
()
?
GFP_ATOMIC
:
GFP_KERNEL
);
new_node
=
kmalloc
(
sizeof
(
*
new_node
),
GFP_KERNEL
);
if
(
!
new_node
)
return
-
ENOMEM
;
node_info
=
kmalloc
(
sizeof
(
*
node_info
),
in_interrupt
()
?
GFP_ATOMIC
:
GFP_KERNEL
);
node_info
=
kmalloc
(
sizeof
(
*
node_info
),
GFP_KERNEL
);
if
(
!
node_info
)
{
kfree
(
new_node
);
return
-
ENOMEM
;
...
...
@@ -435,13 +433,11 @@ static int eth1394_update(struct unit_directory *ud)
if
(
node
)
return
0
;
node
=
kmalloc
(
sizeof
(
*
node
),
in_interrupt
()
?
GFP_ATOMIC
:
GFP_KERNEL
);
node
=
kmalloc
(
sizeof
(
*
node
),
GFP_KERNEL
);
if
(
!
node
)
return
-
ENOMEM
;
node_info
=
kmalloc
(
sizeof
(
*
node_info
),
in_interrupt
()
?
GFP_ATOMIC
:
GFP_KERNEL
);
node_info
=
kmalloc
(
sizeof
(
*
node_info
),
GFP_KERNEL
);
if
(
!
node_info
)
{
kfree
(
node
);
return
-
ENOMEM
;
...
...
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