From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: enable generic CPU feature modalias matching for this architecture
Date: Fri, 14 Mar 2014 17:39:40 +0000 [thread overview]
Message-ID: <20140314173940.GL18126@arm.com> (raw)
In-Reply-To: <1393895404-14776-1-git-send-email-ard.biesheuvel@linaro.org>
On Tue, Mar 04, 2014 at 01:10:04AM +0000, Ard Biesheuvel wrote:
> +static inline bool cpu_have_feature(unsigned int num)
> +{
> + return !!(elf_hwcap & (1UL << num));
> +}
Do we still need !! if the return type is bool? (I can remove it myself,
no need to resend the patch)
--
Catalin
next prev parent reply other threads:[~2014-03-14 17:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 1:10 [PATCH] arm64: enable generic CPU feature modalias matching for this architecture Ard Biesheuvel
2014-03-14 17:39 ` Catalin Marinas [this message]
2014-03-14 17:49 ` Ard Biesheuvel
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=20140314173940.GL18126@arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.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 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.