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
Show 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,
...
@@ -731,15 +731,25 @@ dev_irnet_ioctl(struct inode * inode,
/* Get termios */
/* Get termios */
case
TCGETS
:
case
TCGETS
:
DEBUG
(
FS_INFO
,
"Get termios.
\n
"
);
DEBUG
(
FS_INFO
,
"Get termios.
\n
"
);
#ifndef TCGETS2
if
(
kernel_termios_to_user_termios
((
struct
termios
__user
*
)
argp
,
&
ap
->
termios
))
if
(
kernel_termios_to_user_termios
((
struct
termios
__user
*
)
argp
,
&
ap
->
termios
))
break
;
break
;
#else
if
(
kernel_termios_to_user_termios_1
((
struct
termios
__user
*
)
argp
,
&
ap
->
termios
))
break
;
#endif
err
=
0
;
err
=
0
;
break
;
break
;
/* Set termios */
/* Set termios */
case
TCSETSF
:
case
TCSETSF
:
DEBUG
(
FS_INFO
,
"Set termios.
\n
"
);
DEBUG
(
FS_INFO
,
"Set termios.
\n
"
);
#ifndef TCGETS2
if
(
user_termios_to_kernel_termios
(
&
ap
->
termios
,
(
struct
termios
__user
*
)
argp
))
if
(
user_termios_to_kernel_termios
(
&
ap
->
termios
,
(
struct
termios
__user
*
)
argp
))
break
;
break
;
#else
if
(
user_termios_to_kernel_termios_1
(
&
ap
->
termios
,
(
struct
termios
__user
*
)
argp
))
break
;
#endif
err
=
0
;
err
=
0
;
break
;
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