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
9b0c455a
Commit
9b0c455a
authored
May 10, 2007
by
Martin Schwidefsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[S390] monreader inlining cleanup.
Signed-off-by:
Martin Schwidefsky
<
schwidefsky@de.ibm.com
>
parent
f7e5d67c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
drivers/s390/char/monreader.c
drivers/s390/char/monreader.c
+7
-7
No files found.
drivers/s390/char/monreader.c
View file @
9b0c455a
...
@@ -97,7 +97,7 @@ static u8 user_data_sever[16] = {
...
@@ -97,7 +97,7 @@ static u8 user_data_sever[16] = {
* Create the 8 bytes EBCDIC DCSS segment name from
* Create the 8 bytes EBCDIC DCSS segment name from
* an ASCII name, incl. padding
* an ASCII name, incl. padding
*/
*/
static
inline
void
dcss_mkname
(
char
*
ascii_name
,
char
*
ebcdic_name
)
static
void
dcss_mkname
(
char
*
ascii_name
,
char
*
ebcdic_name
)
{
{
int
i
;
int
i
;
...
@@ -191,7 +191,7 @@ static inline u32 mon_rec_end(struct mon_msg *monmsg)
...
@@ -191,7 +191,7 @@ static inline u32 mon_rec_end(struct mon_msg *monmsg)
return
*
((
u32
*
)
(
mon_mca_start
(
monmsg
)
+
monmsg
->
mca_offset
+
8
));
return
*
((
u32
*
)
(
mon_mca_start
(
monmsg
)
+
monmsg
->
mca_offset
+
8
));
}
}
static
in
line
in
t
mon_check_mca
(
struct
mon_msg
*
monmsg
)
static
int
mon_check_mca
(
struct
mon_msg
*
monmsg
)
{
{
if
((
mon_rec_end
(
monmsg
)
<=
mon_rec_start
(
monmsg
))
||
if
((
mon_rec_end
(
monmsg
)
<=
mon_rec_start
(
monmsg
))
||
(
mon_rec_start
(
monmsg
)
<
mon_dcss_start
)
||
(
mon_rec_start
(
monmsg
)
<
mon_dcss_start
)
||
...
@@ -209,7 +209,7 @@ static inline int mon_check_mca(struct mon_msg *monmsg)
...
@@ -209,7 +209,7 @@ static inline int mon_check_mca(struct mon_msg *monmsg)
return
0
;
return
0
;
}
}
static
in
line
in
t
mon_send_reply
(
struct
mon_msg
*
monmsg
,
static
int
mon_send_reply
(
struct
mon_msg
*
monmsg
,
struct
mon_private
*
monpriv
)
struct
mon_private
*
monpriv
)
{
{
int
rc
;
int
rc
;
...
@@ -236,7 +236,7 @@ static inline int mon_send_reply(struct mon_msg *monmsg,
...
@@ -236,7 +236,7 @@ static inline int mon_send_reply(struct mon_msg *monmsg,
return
0
;
return
0
;
}
}
static
inline
void
mon_free_mem
(
struct
mon_private
*
monpriv
)
static
void
mon_free_mem
(
struct
mon_private
*
monpriv
)
{
{
int
i
;
int
i
;
...
@@ -246,7 +246,7 @@ static inline void mon_free_mem(struct mon_private *monpriv)
...
@@ -246,7 +246,7 @@ static inline void mon_free_mem(struct mon_private *monpriv)
kfree
(
monpriv
);
kfree
(
monpriv
);
}
}
static
inline
struct
mon_private
*
mon_alloc_mem
(
void
)
static
struct
mon_private
*
mon_alloc_mem
(
void
)
{
{
int
i
;
int
i
;
struct
mon_private
*
monpriv
;
struct
mon_private
*
monpriv
;
...
@@ -307,7 +307,7 @@ static inline void mon_next_mca(struct mon_msg *monmsg)
...
@@ -307,7 +307,7 @@ static inline void mon_next_mca(struct mon_msg *monmsg)
monmsg
->
pos
=
0
;
monmsg
->
pos
=
0
;
}
}
static
inline
struct
mon_msg
*
mon_next_message
(
struct
mon_private
*
monpriv
)
static
struct
mon_msg
*
mon_next_message
(
struct
mon_private
*
monpriv
)
{
{
struct
mon_msg
*
monmsg
;
struct
mon_msg
*
monmsg
;
...
...
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