All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/arm/mach-omap2/vc.c:302: bad if test ?
@ 2015-08-28  9:25 David Binderman
  2015-08-28 10:10   ` Frans Klaver
  0 siblings, 1 reply; 8+ messages in thread
From: David Binderman @ 2015-08-28  9:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hello there,

arch/arm/mach-omap2/vc.c:302:47: warning: logical ?or? of collectively exhaustive tests is always true [-Wlogical-op]

Source code is

??????? if (!(val & OMAP3430_PRM_POLCTRL_CLKREQ_POL) ||
??????????? (val & OMAP3430_PRM_POLCTRL_CLKREQ_POL)) {

Suggest code rework.

Regards

David Binderman

 		 	   		  

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

end of thread, other threads:[~2015-09-01 18:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28  9:25 arch/arm/mach-omap2/vc.c:302: bad if test ? David Binderman
2015-08-28 10:10 ` [PATCH] arm: omap2: vc: fix 'or' always true warning Frans Klaver
2015-08-28 10:10   ` Frans Klaver
2015-08-28 10:10   ` Frans Klaver
2015-09-01 15:46   ` Tony Lindgren
2015-09-01 15:46     ` Tony Lindgren
2015-09-01 18:21     ` Frans Klaver
2015-09-01 18:21       ` Frans Klaver

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.