Commit a91f687b authored by Eric Biggers's avatar Eric Biggers
Browse files

ANDROID: trusty: fix some checkpatch warnings



Fix instances of the following checkpatch warnings:

    WARNING: quoted string split across lines
    WARNING: char * array declaration might be better as static const
    WARNING: else is not generally useful after a break or return
    WARNING: braces {} are not necessary for single statement blocks
    WARNING: Missing a blank line after declarations
    WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
    WARNING: Possible unnecessary 'out of memory' message
    WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
    WARNING: Symbolic permissions 'S_IRUSR' are not preferred. Consider using octal permissions '0400'.
    WARNING: space prohibited between function name and open parenthesis '('

Test: trusty/vendor/google/aosp/scripts/build.py qemu-generic-arm64-test-debug
Change-Id: If470fe558206c4a689323db7c6d787db82b9aa86
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent 1d7b4458
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment