From: Thomas Monjalon <thomas@monjalon.net>
To: Aleksey Baulin <aleksey.baulin@gmail.com>
Cc: dev@dpdk.org, stephen@networkplumber.org,
Jim Thompson <jim@netgate.com>,
keith.wiles@intel.com
Subject: Re: [dpdk-dev] [PATCH] eal/common: better likely() and unlikely()
Date: Sat, 20 Jan 2018 17:28:21 +0100 [thread overview]
Message-ID: <2159612.Yb9fnfsrWT@xps> (raw)
In-Reply-To: <1511129764-23123-1-git-send-email-Aleksey.Baulin@gmail.com>
19/11/2017 23:16, Aleksey Baulin:
> A warning is issued when using an argument to likely() or unlikely()
> builtins which is evaluated to a pointer value, as __builtin_expect()
> expects a 'long int' type for its first argument. With this fix
> a pointer value is converted to an integer with the value of 0 or 1.
>
> Signed-off-by: Aleksey Baulin <Aleksey.Baulin@gmail.com>
After philosophical debates,
Applied, thanks :)
prev parent reply other threads:[~2018-01-20 16:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-19 22:16 Aleksey Baulin
2017-11-20 13:36 ` Wiles, Keith
2017-11-20 17:21 ` Jim Thompson
2017-11-21 7:05 ` Aleksey Baulin
2018-01-12 15:35 ` Thomas Monjalon
2018-01-13 22:05 ` Aleksey Baulin
2018-01-13 22:24 ` Thomas Monjalon
2018-01-13 22:45 ` Aleksey Baulin
2018-01-14 17:17 ` Stephen Hemminger
2018-01-20 16:28 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2159612.Yb9fnfsrWT@xps \
--to=thomas@monjalon.net \
--cc=aleksey.baulin@gmail.com \
--cc=dev@dpdk.org \
--cc=jim@netgate.com \
--cc=keith.wiles@intel.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).