From: Mike Frysinger <vapier@gentoo.org>
To: Natanael Copa <ncopa@alpinelinux.org>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] switch_root: use typeof() instead of __SWORD_TYPE
Date: Wed, 29 Oct 2014 15:37:52 -0400 [thread overview]
Message-ID: <20141029193752.GA32734@vapier.wh0rd.info> (raw)
In-Reply-To: <1414573745-15664-1-git-send-email-ncopa@alpinelinux.org>
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
On 29 Oct 2014 09:09, Natanael Copa wrote:
> + (stfs.f_type == (typeof(stfs.f_type))STATFS_RAMFS_MAGIC ||
> + stfs.f_type == (typeof(stfs.f_type))STATFS_TMPFS_MAGIC))
typeof is a gcc extension and really should be __typeof__. ignoring irony of
replacing on unportable behavior with another ;).
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-10-29 19:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 9:09 [PATCH] switch_root: use typeof() instead of __SWORD_TYPE Natanael Copa
2014-10-29 19:37 ` Mike Frysinger [this message]
2014-11-06 12:01 ` Karel Zak
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=20141029193752.GA32734@vapier.wh0rd.info \
--to=vapier@gentoo.org \
--cc=ncopa@alpinelinux.org \
--cc=util-linux@vger.kernel.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).