linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the clockevents tree
@ 2019-06-17  4:52 Stephen Rothwell
  2019-06-17  8:58 ` Andrew Murray
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2019-06-17  4:52 UTC (permalink / raw)
  To: Daniel Lezcano
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Andrew Murray, Mark Rutland, Will Deacon, Marc Zyngier

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: build warnings after merge of the clockevents tree
  2019-06-17  4:52 linux-next: build warnings after merge of the clockevents tree Stephen Rothwell
@ 2019-06-17  8:58 ` Andrew Murray
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Murray @ 2019-06-17  8:58 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Daniel Lezcano, Linux Next Mailing List,
	Linux Kernel Mailing List, Mark Rutland, Will Deacon,
	Marc Zyngier

On Mon, Jun 17, 2019 at 02:52:45PM +1000, Stephen Rothwell wrote:
> 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")

This was also picked up by the kbuild robot, I'll sent a patch shortly - apologies.

Thanks,

Andrew Murray

> 
> Look like a missed "return".
> 
> -- 
> Cheers,
> Stephen Rothwell



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-17  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-17  4:52 linux-next: build warnings after merge of the clockevents tree Stephen Rothwell
2019-06-17  8:58 ` Andrew Murray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).