Searched hist:f8f95bc18ef651e1e09ba4a7d3075710738c3231 (Results 1 – 5 of 5) sorted by relevance
| /optee_os/core/include/drivers/ |
| H A D | imx_wdog.h | f8f95bc18ef651e1e09ba4a7d3075710738c3231 Tue Sep 10 11:16:01 UTC 2019 Jerome Forissier <jerome@forissier.org> Get rid of option -Wno-suggest-attribute=noreturn
The GCC option -Wno-suggest-attribute=noreturn is not supported by Clang. Instead of playing with compiler options, let's fix the code according to the following rules: - If a function is know to never return, it should have the __noreturn attribute in the header file. - If only some implementation of a function never returns, __noreturn shall be applied to that particular implementation in the .c file.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/arch/arm/plat-sunxi/ |
| H A D | sub.mk | f8f95bc18ef651e1e09ba4a7d3075710738c3231 Tue Sep 10 11:16:01 UTC 2019 Jerome Forissier <jerome@forissier.org> Get rid of option -Wno-suggest-attribute=noreturn
The GCC option -Wno-suggest-attribute=noreturn is not supported by Clang. Instead of playing with compiler options, let's fix the code according to the following rules: - If a function is know to never return, it should have the __noreturn attribute in the header file. - If only some implementation of a function never returns, __noreturn shall be applied to that particular implementation in the .c file.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | psci.c | f8f95bc18ef651e1e09ba4a7d3075710738c3231 Tue Sep 10 11:16:01 UTC 2019 Jerome Forissier <jerome@forissier.org> Get rid of option -Wno-suggest-attribute=noreturn
The GCC option -Wno-suggest-attribute=noreturn is not supported by Clang. Instead of playing with compiler options, let's fix the code according to the following rules: - If a function is know to never return, it should have the __noreturn attribute in the header file. - If only some implementation of a function never returns, __noreturn shall be applied to that particular implementation in the .c file.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | sub.mk | f8f95bc18ef651e1e09ba4a7d3075710738c3231 Tue Sep 10 11:16:01 UTC 2019 Jerome Forissier <jerome@forissier.org> Get rid of option -Wno-suggest-attribute=noreturn
The GCC option -Wno-suggest-attribute=noreturn is not supported by Clang. Instead of playing with compiler options, let's fix the code according to the following rules: - If a function is know to never return, it should have the __noreturn attribute in the header file. - If only some implementation of a function never returns, __noreturn shall be applied to that particular implementation in the .c file.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/drivers/ |
| H A D | sub.mk | f8f95bc18ef651e1e09ba4a7d3075710738c3231 Tue Sep 10 11:16:01 UTC 2019 Jerome Forissier <jerome@forissier.org> Get rid of option -Wno-suggest-attribute=noreturn
The GCC option -Wno-suggest-attribute=noreturn is not supported by Clang. Instead of playing with compiler options, let's fix the code according to the following rules: - If a function is know to never return, it should have the __noreturn attribute in the header file. - If only some implementation of a function never returns, __noreturn shall be applied to that particular implementation in the .c file.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|