Merge "coverity: debugfs devfip remove comparisons to LONG_MAX" into integration

This commit is contained in:
Soby Mathew 2020-02-04 15:03:59 +00:00 committed by TrustedFirmware Code Review
commit 44e3424e34
1 changed files with 1 additions and 5 deletions

View File

@ -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;
}