dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] Fix rte_is_power_of_2
@ 2014-12-27 15:28 Ravi Kerur
       [not found] ` <1419694115-1892-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Ravi Kerur @ 2014-12-27 15:28 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

Changes in v2
Make this a separate patch. 

rte_is_power_of_2 returns true for 0, fix by checking for n.

Ravi Kerur (1):
  Fix rte_is_power_of_2

 lib/librte_eal/common/include/rte_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.1

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

end of thread, other threads:[~2015-01-19 22:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-27 15:28 [PATCH v2] Fix rte_is_power_of_2 Ravi Kerur
     [not found] ` <1419694115-1892-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-12-27 15:30   ` Ravi Kerur
     [not found]     ` <1419694244-2018-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-12-27 20:49       ` Neil Horman
     [not found]         ` <20141227204903.GB16138-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-01-15 13:12           ` Thomas Monjalon
2015-01-19  2:45           ` Zhang, Helin
     [not found]             ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A7EA935-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-01-19  7:21               ` David Marchand
     [not found]                 ` <CALwxeUu2YOFUeQ3urHxFk+3mYef0zyiZMCDnYTsiJ7o9K0Pzhw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-19  9:13                   ` Thomas Monjalon
2015-01-19  9:30                     ` Qiu, Michael
     [not found]                       ` <533710CFB86FA344BFBF2D6802E60286CB74C5-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-01-19  9:49                         ` David Marchand
2015-01-19 10:02                           ` Qiu, Michael
2015-01-19 10:07                           ` Qiu, Michael
2015-01-19 17:07                     ` Ravi Kerur
     [not found]                       ` <CAFb4SLBf+PTwOwstD6LBzTimF08pcycWsSP5+pHNuT+_6kZRew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-19 22:07                         ` Ravi Kerur
2015-01-19  9:14                   ` De Lara Guarch, Pablo

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).