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
44e3424e
"vscode:/vscode.git/clone" did not exist on "e453731fc93419cb71661dd1f277965e3d07ff0e"
Commit
44e3424e
authored
Feb 04, 2020
by
Soby Mathew
Committed by
TrustedFirmware Code Review
Feb 04, 2020
Browse files
Merge "coverity: debugfs devfip remove comparisons to LONG_MAX" into integration
parents
d57a582a
47939f67
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/debugfs/devfip.c
View file @
44e3424e
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -103,10 +103,6 @@ static int get_entry(chan_t *c, struct fip_entry *entry)
return
-
1
;
}
if
((
entry
->
size
>
LONG_MAX
)
||
(
entry
->
offset_address
>
LONG_MAX
))
{
return
-
1
;
}
if
(
entry
->
size
==
0
)
{
return
0
;
}
...
...
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