mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
conftest: Fix return types for timer functions
The function hrtimer_setup() returns void and the function timer_delete() returns int, and so correct the return types for the respective conftest functions. JIRA LINQPJ14-47 Change-Id: I569f4fae0bf01f894583570116125a44a1757ff3 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3342808 (cherry picked from commit b9d81360d102ca2f573a9cdeafb0868d82edf77d) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3499794 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com> Tested-by: Brad Griffis <bgriffis@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2ec6cdcc9b
commit
0fcc21d871
@@ -7505,8 +7505,8 @@ compile_test() {
|
||||
#
|
||||
CODE="
|
||||
#include <linux/hrtimer.h>
|
||||
bool conftest_hrtimer_setup(void) {
|
||||
return hrtimer_setup();
|
||||
void conftest_hrtimer_setup(void) {
|
||||
hrtimer_setup();
|
||||
}"
|
||||
|
||||
compile_check_conftest "$CODE" "NV_HRTIMER_SETUP_PRESENT" "" "functions"
|
||||
@@ -8327,7 +8327,7 @@ compile_test() {
|
||||
#
|
||||
CODE="
|
||||
#include <linux/timer.h>
|
||||
bool conftest_timer_delete(void) {
|
||||
int conftest_timer_delete(void) {
|
||||
return timer_delete();
|
||||
}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user