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
cddf63d9
Commit
cddf63d9
authored
May 20, 2008
by
Arnd Bergmann
Committed by
Jonathan Corbet
Jun 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
irnet_ppp: BKL pushdown
Signed-off-by:
Arnd Bergmann
<
arnd@arndb.de
>
parent
af96f010
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
net/irda/irnet/irnet.h
net/irda/irnet/irnet.h
+1
-0
net/irda/irnet/irnet_ppp.c
net/irda/irnet/irnet_ppp.c
+3
-0
No files found.
net/irda/irnet/irnet.h
View file @
cddf63d9
...
...
@@ -241,6 +241,7 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/smp_lock.h>
#include <linux/skbuff.h>
#include <linux/tty.h>
#include <linux/proc_fs.h>
...
...
net/irda/irnet/irnet_ppp.c
View file @
cddf63d9
...
...
@@ -479,6 +479,7 @@ dev_irnet_open(struct inode * inode,
ap
=
kzalloc
(
sizeof
(
*
ap
),
GFP_KERNEL
);
DABORT
(
ap
==
NULL
,
-
ENOMEM
,
FS_ERROR
,
"Can't allocate struct irnet...
\n
"
);
lock_kernel
();
/* initialize the irnet structure */
ap
->
file
=
file
;
...
...
@@ -500,6 +501,7 @@ dev_irnet_open(struct inode * inode,
{
DERROR
(
FS_ERROR
,
"Can't setup IrDA link...
\n
"
);
kfree
(
ap
);
unlock_kernel
();
return
err
;
}
...
...
@@ -510,6 +512,7 @@ dev_irnet_open(struct inode * inode,
file
->
private_data
=
ap
;
DEXIT
(
FS_TRACE
,
" - ap=0x%p
\n
"
,
ap
);
unlock_kernel
();
return
0
;
}
...
...
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