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
ba72b196
Unverified
Commit
ba72b196
authored
Sep 09, 2018
by
Dimitris Papastamos
Committed by
GitHub
Sep 09, 2018
Browse files
Merge pull request #1567 from jeenu-arm/ras-fix
RAS: Fix assert condition
parents
03f3632c
ca9ffc79
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/extensions/ras/std_err_record.c
View file @
ba72b196
...
@@ -56,7 +56,7 @@ int ser_probe_sysreg(unsigned int idx_start, unsigned int num_idx, int *probe_da
...
@@ -56,7 +56,7 @@ int ser_probe_sysreg(unsigned int idx_start, unsigned int num_idx, int *probe_da
((
unsigned
int
)
read_erridr_el1
())
&
ERRIDR_MASK
;
((
unsigned
int
)
read_erridr_el1
())
&
ERRIDR_MASK
;
assert
(
idx_start
<
max_idx
);
assert
(
idx_start
<
max_idx
);
assert
(
check_u32_overflow
(
idx_start
,
num_idx
));
assert
(
check_u32_overflow
(
idx_start
,
num_idx
)
==
0
);
assert
((
idx_start
+
num_idx
-
1U
)
<
max_idx
);
assert
((
idx_start
+
num_idx
-
1U
)
<
max_idx
);
for
(
i
=
0
;
i
<
num_idx
;
i
++
)
{
for
(
i
=
0
;
i
<
num_idx
;
i
++
)
{
...
...
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