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
49259d34
Commit
49259d34
authored
Nov 01, 2007
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA] IRNET: Fix build when TCGETS2 is defined.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
3b582cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
net/irda/irnet/irnet_ppp.c
net/irda/irnet/irnet_ppp.c
+10
-0
No files found.
net/irda/irnet/irnet_ppp.c
View file @
49259d34
...
...
@@ -731,15 +731,25 @@ dev_irnet_ioctl(struct inode * inode,
/* Get termios */
case
TCGETS
:
DEBUG
(
FS_INFO
,
"Get termios.
\n
"
);
#ifndef TCGETS2
if
(
kernel_termios_to_user_termios
((
struct
termios
__user
*
)
argp
,
&
ap
->
termios
))
break
;
#else
if
(
kernel_termios_to_user_termios_1
((
struct
termios
__user
*
)
argp
,
&
ap
->
termios
))
break
;
#endif
err
=
0
;
break
;
/* Set termios */
case
TCSETSF
:
DEBUG
(
FS_INFO
,
"Set termios.
\n
"
);
#ifndef TCGETS2
if
(
user_termios_to_kernel_termios
(
&
ap
->
termios
,
(
struct
termios
__user
*
)
argp
))
break
;
#else
if
(
user_termios_to_kernel_termios_1
(
&
ap
->
termios
,
(
struct
termios
__user
*
)
argp
))
break
;
#endif
err
=
0
;
break
;
...
...
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