Skip to content
Snippets Groups Projects
Commit 47939f67 authored by Olivier Deprez's avatar Olivier Deprez
Browse files

coverity: debugfs devfip remove comparisons to LONG_MAX


CID 353228:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)

The checks on size and offset_address in get_entry always resolve to
false provided those fields are long long int and cannot be greater
than LONG_MAX.

Signed-off-by: default avatarOlivier Deprez <olivier.deprez@arm.com>
Change-Id: I0fac485a39ac4a40ae8c0d25a706ad74c795e130
parent 4ad18e5d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment