Merge "coverity: debugfs devfip remove comparisons to LONG_MAX" into integration
This commit is contained in:
commit
44e3424e34
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue