Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
47
Issues
47
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
828f7350
Commit
828f7350
authored
Dec 01, 2016
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-wrs: prevent a warning
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
d755255f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
shmem.c
arch-wrs/shmem.c
+2
-0
No files found.
arch-wrs/shmem.c
View file @
828f7350
...
@@ -233,6 +233,8 @@ void wrs_shm_write_caller(struct wrs_shm_head *head, int flags,
...
@@ -233,6 +233,8 @@ void wrs_shm_write_caller(struct wrs_shm_head *head, int flags,
pr_debug
(
"caller of a function wrs_shm_write is %s, called for
\"
%s
\"
"
pr_debug
(
"caller of a function wrs_shm_write is %s, called for
\"
%s
\"
"
"with the flag
\"
%s
\"\n
"
,
caller
,
head
->
name
,
msg
);
"with the flag
\"
%s
\"\n
"
,
caller
,
head
->
name
,
msg
);
(
void
)
*
msg
;
/* if pr_debug() is empty, we'd have "unused variable" */
head
->
sequence
+=
2
;
head
->
sequence
+=
2
;
if
(
flags
==
WRS_SHM_WRITE_BEGIN
)
{
if
(
flags
==
WRS_SHM_WRITE_BEGIN
)
{
if
(
head
->
sequence
&
WRS_SHM_LOCK_MASK
)
if
(
head
->
sequence
&
WRS_SHM_LOCK_MASK
)
...
...
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