commit ed6ed11830a9ded520db31a6e2b69b6b0a1eb0e2 upstream.
Replace the literal load of the addend vector with a sequence that
performs each add individually. This sequence is only 2 instructions
longer than the original, and 2% faster on Cortex-A53.
This is an improvement by itself, but also works around a Clang issue,
whose integrated assembler does not implement the GNU ARM asm syntax
completely, and does not support the =literal notation for FP registers
(more info at https://bugs.llvm.org/show_bug.cgi?id=38642)
Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Compiler complaint about destination buffer size.
We'll increase the buf size from 2 to 6.
../drivers/soc/qcom/icnss.c:3959:2: warning: 'sprintf' will always overflow; destination buffer has size 2, but format string expands to at least 4 [-Wfortify-source]
sprintf(antbuffer, "%c%c\n", (gpio_get_value(wifi_cable1) > 0) ? 'D' : 'E' , (gpio_get_value(wifi_cable2) > 0) ? 'D' : 'E');
^
CC drivers/usb/core/config.o
CC drivers/usb/dwc3/debug_ipc.o
1 warning generated.
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
Requiring userspace to write to /sys/kernel/boot_wlan/boot_wlan when
qcacld isn't built as a module is unnecessary. Loading this driver only
takes 1-2 ms, so we should just do so directly during kernel init.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Reasons:
1. Its still using python2 which is deprecated on some host except if you compiled python2 by your own
2. -Werror cflags exist, why even bother?
3. Using this may waste memory
Signed-off-by: rsuntk <rissu.ntk@gmail.com>