MISRA rule 21.15 fix
John Tsichritzis authored
Rule 21.15: The pointer arguments to the Standard Library functions
    memcpy, memmove and memcmp shall be pointers to qualified or unqualified
    versions of compatible types.

    Basically that means that both pointer arguments must be of the same
    type. However, even if the pointers passed as arguments to the above
    functions are of the same type, Coverity still thinks it's a violation
    if we do pointer arithmetics directly at the function call. Thus the
    pointer arithmetic operations were moved outside of the function
    argument.

    First detected on the following configuration
            make PLAT=fvp LOG_LEVEL=50

    Change-Id: I8b912ec1bfa6f2d60857cb1bd453981fd7001b94
Signed-off-by: default avatarJohn Tsichritzis <john.tsichritzis@arm.com>
bdcd33a8
Name Last commit Last update
bl1 Fix MISRA rule 8.4 Part 4
bl2 BL2_AT_EL3: do not try to disable MMU twice on AARCH32
bl2u Merge pull request #1282 from robertovargas-arm/misra-changes
bl31 Rename symbols and files relating to CVE-2017-5715
bl32 Rename symbols and files relating to CVE-2017-5715
common Revert "Code change to fix small bugs"
docs Merge pull request #1404 from soby-mathew/sm/bl_layout_change
drivers Merge pull request #1386 from soby-mathew/sm/dyn_bl31
fdts Dynamic_config: remove the FVP dtb files
include Merge pull request #1404 from soby-mathew/sm/bl_layout_change
lib MISRA rule 21.15 fix
make_helpers Allow disabling authentication dynamically
plat Revert "Code change to fix small bugs"
services Merge pull request #1392 from dp-arm/dp/cve_2018_3639
tools Dynamic cfg: Enable support on CoT for other configs
.checkpatch.conf checkpatch: Ignore SPDX_LICENSE_TAG
.editorconfig Add .editorconfig file
.gitignore fip: move headers shared between TF and fiptool to include/tools_share
Makefile Allow disabling authentication dynamically
acknowledgements.rst Add NXP to contributor list
contributing.rst Update Arm TF references to TF-A
dco.txt Drop requirement for CLA in contribution.md
license.rst Update Arm TF references to TF-A
maintainers.rst layerscape: Initial TF-A support for LS1043ardb
readme.rst Fix SDEI link in readme.rst