linux-next: build warnings after merge of the clockevents tree

From: Stephen Rothwell
Date: Mon Jun 17 2019 - 00:57:40 EST


Hi all,

After merging the clockevents tree, today's linux-next build (arm
multi_v7_defconfig) produced these warnings:

In file included from arch/arm/kernel/vdso.c:30:
arch/arm/include/asm/arch_timer.h: In function 'arch_timer_set_evtstrm_feature':
arch/arm/include/asm/arch_timer.h:131:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
In file included from drivers/clocksource/arm_arch_timer.c:31:
arch/arm/include/asm/arch_timer.h: In function 'arch_timer_set_evtstrm_feature':
arch/arm/include/asm/arch_timer.h:131:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^

Introduced by commit

11e34eca5d0a ("clocksource/arm_arch_timer: Extract elf_hwcap use to arch-helper")

Look like a missed "return".

--
Cheers,
Stephen Rothwell

Attachment: pgpoRvRpicWWW.pgp
Description: OpenPGP digital signature