Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Mock Turtle
Commits
ab8aeafe
Commit
ab8aeafe
authored
Jun 02, 2016
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrtd:lib: fix style
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
7fd8c5c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
libwrtd-logging.c
applications/wrtd/lib/libwrtd-logging.c
+6
-6
mockturtle-hmq.c
kernel/mockturtle-hmq.c
+1
-1
No files found.
applications/wrtd/lib/libwrtd-logging.c
View file @
ab8aeafe
...
...
@@ -75,17 +75,17 @@ enum wrtd_log_level wrtd_strlogging_to_level(char *log)
{
if
(
!
strcmp
(
log
,
"all"
))
return
WRTD_LOG_ALL
;
if
(
!
strcmp
(
log
,
"promiscuous"
))
if
(
!
strcmp
(
log
,
"promiscuous"
))
return
WRTD_LOG_PROMISC
;
if
(
!
strcmp
(
log
,
"raw"
))
if
(
!
strcmp
(
log
,
"raw"
))
return
WRTD_LOG_RAW
;
if
(
!
strcmp
(
log
,
"executed"
))
if
(
!
strcmp
(
log
,
"executed"
))
return
WRTD_LOG_EXECUTED
;
if
(
!
strcmp
(
log
,
"missed"
))
if
(
!
strcmp
(
log
,
"missed"
))
return
WRTD_LOG_MISSED
;
if
(
!
strcmp
(
log
,
"sent"
))
if
(
!
strcmp
(
log
,
"sent"
))
return
WRTD_LOG_SENT
;
if
(
!
strcmp
(
log
,
"filtered"
))
if
(
!
strcmp
(
log
,
"filtered"
))
return
WRTD_LOG_FILTERED
;
return
WRTD_LOG_NOTHING
;
...
...
kernel/mockturtle-hmq.c
View file @
ab8aeafe
...
...
@@ -942,7 +942,7 @@ static void trtl_irq_handler_output(struct trtl_hmq *hmq)
spin_unlock_irqrestore
(
&
hmq
->
lock
,
flags
);
/* Do not store synchronous answer */
goto
out
;
goto
out
;
}
...
...
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