Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
fcc9ad89
Unverified
Commit
fcc9ad89
authored
Jan 22, 2019
by
Antonio Niño Díaz
Committed by
GitHub
Jan 22, 2019
Browse files
Merge pull request #1774 from glneo/error-message
ti: k3: drivers: sec_proxy: Switch error messages
parents
e92fc067
4f9444cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/ti/k3/common/drivers/sec_proxy/sec_proxy.c
View file @
fcc9ad89
...
...
@@ -139,10 +139,10 @@ static inline int k3_sec_proxy_verify_thread(struct k3_sec_proxy_thread *spt,
if
((
mmio_read_32
(
spt
->
scfg
+
SCFG_THREAD_CTRL
)
&
SCFG_THREAD_CTRL_DIR_MASK
)
!=
(
dir
<<
SCFG_THREAD_CTRL_DIR_SHIFT
))
{
if
(
dir
)
ERROR
(
"Trying to
receive
data on
tx
Thread %d
\n
"
,
ERROR
(
"Trying to
send
data on
RX
Thread %d
\n
"
,
spt
->
id
);
else
ERROR
(
"Trying to
send
data on
rx
Thread %d
\n
"
,
ERROR
(
"Trying to
receive
data on
TX
Thread %d
\n
"
,
spt
->
id
);
return
-
EINVAL
;
}
...
...
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