summaryrefslogtreecommitdiff
path: root/arch/s390/numa
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2021-05-18 14:26:51 +0200
committerSylwester Nawrocki <s.nawrocki@samsung.com>2021-05-18 14:38:34 +0200
commit56a67724efeaee05e76ca6cb75c3ab48f142735f (patch)
tree9d150178b5334c7a79f7e280862170d8dae67136 /arch/s390/numa
parentab562dc04ced52021ec709643282bfadafeedd21 (diff)
downloadlinux-rpi3-56a67724efeaee05e76ca6cb75c3ab48f142735f.tar.gz
linux-rpi3-56a67724efeaee05e76ca6cb75c3ab48f142735f.tar.bz2
linux-rpi3-56a67724efeaee05e76ca6cb75c3ab48f142735f.zip
logger: Suppress SVACE sign extension warnings
This patch suppresses SVACE warnings shown below and makes the code more robust. The actual sign extension issue cannot happen in current code as value of the len variable in function logger_set_tag() is limited to LOGGER_ENTRY_MAX_PAYLOAD and create_log() is being called only with fixed size argument values. * SIGNED_TO_BIGGER_UNSIGNED: Assignment of a signed value which has type 'int' to a variable of a bigger integer type 'size_t' Sign extension at linux-rpi3/drivers/staging/android/logger.c:898 * SIGNED_TO_BIGGER_UNSIGNED: Assignment of a signed value which has type 'int' to a variable of a bigger integer type 'size_t' Sign extension at linux-rpi3/drivers/staging/android/logger.c:1045 Change-Id: I8646555e1a09fb0feb4c12961965aea36c80cd38 Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'arch/s390/numa')
0 files changed, 0 insertions, 0 deletions