Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e4de7b9a
Commit
e4de7b9a
authored
Aug 19, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Set owner field on /proc/net/irda sub entries.
parent
922555ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
net/irda/irproc.c
net/irda/irproc.c
+6
-2
No files found.
net/irda/irproc.c
View file @
e4de7b9a
...
...
@@ -62,14 +62,18 @@ static struct irda_entry dir[] = {
void
__init
irda_proc_register
(
void
)
{
int
i
;
struct
proc_dir_entry
*
d
;
proc_irda
=
proc_mkdir
(
"net/irda"
,
NULL
);
if
(
proc_irda
==
NULL
)
return
;
proc_irda
->
owner
=
THIS_MODULE
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
dir
);
i
++
)
create_proc_info_entry
(
dir
[
i
].
name
,
0
,
proc_irda
,
dir
[
i
].
fn
);
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
dir
);
i
++
)
{
d
=
create_proc_info_entry
(
dir
[
i
].
name
,
0
,
proc_irda
,
dir
[
i
].
fn
);
if
(
d
)
d
->
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