From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: "acme@ghostprotocols.net" <acme@ghostprotocols.net>,
"jolsa@kernel.org" <jolsa@kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dev@codyps.com" <dev@codyps.com>,
"peterz@infradead.org" <peterz@infradead.org>,
"acme@redhat.com" <acme@redhat.com>, "bp@suse.de" <bp@suse.de>,
Vineet Gupta <Vineet.Gupta1@synopsys.com>
Subject: Re: [PATCH] perf tools: fix type mismatch - long vs __statfs_word
Date: Mon, 15 Sep 2014 10:26:01 +0000 [thread overview]
Message-ID: <1410776760.5875.5.camel@abrodkin-8560l.internal.synopsys.com> (raw)
In-Reply-To: <C2D7FE5348E1B147BCA15975FBA230753C5D0B10@IN01WEMBXA.internal.synopsys.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1116 bytes --]
Hi Arnaldo, Jiri,
> On Wednesday 13 August 2014 10:34 PM, Alexey Brodkin wrote:
> > From "include/uapi/asm-generic/statfs.h" it is seen that "statfs.f_type" is of
> > type "__statfs_word" which in its turn is "__u32" (unsigned int) for 32-bit
> > systems.
> >
> > So in case of compilation with "-Werror" following breakage happens:
> > --->---
> > fs.c: In function âfs__valid_mountâ:
> > fs.c:76:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> > else if (st_fs.f_type != magic)
> > ^
> > cc1: all warnings being treated as errors
> > --->---
> >
> > Note that now when fs.c is in "lib/api/fs" and in "tools/lib/api/Makefile"
> > CFLAGS has hard-coded "-Werror" this is inevitable even if one builds "perf"
> > with "WERROR=0".
> >
I'm wondering if there's a chance to get this patch accepted because for
now perf building from 3.15 kernels onward is broken.
Regards,
Alexey
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2014-09-15 10:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-13 17:03 Alexey Brodkin
2014-09-04 5:45 ` Vineet Gupta
2014-09-15 10:26 ` Alexey Brodkin [this message]
2014-09-15 19:52 ` Arnaldo Carvalho de Melo
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=1410776760.5875.5.camel@abrodkin-8560l.internal.synopsys.com \
--to=alexey.brodkin@synopsys.com \
--cc=Vineet.Gupta1@synopsys.com \
--cc=acme@ghostprotocols.net \
--cc=acme@redhat.com \
--cc=bp@suse.de \
--cc=dev@codyps.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®