All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: linux-btrace@vger.kernel.org
Subject: Re: [PATCH] Add btrecord/btreplay capability
Date: Tue, 02 Oct 2007 18:07:44 +0000	[thread overview]
Message-ID: <20071002180744.GP5236@kernel.dk> (raw)
In-Reply-To: <47027480.2040408@hp.com>

On Tue, Oct 02 2007, Alan D. Brunelle wrote:
> Jens Axboe wrote:
> >
> > This looks pretty nifty and useful. I've applied both your patches. They
> > do have a few build warnings here, involving fatal():
> >
> > btrecord.c: In function 'stream_open':
> > btrecord.c:685: warning: the address of 'ofile_name' will always
> > evaluate as 'true'
> > btrecord.c:704: warning: the address of 'vfile_name' will always
> > evaluate as 'true'
> >
> > btreplay.c: In function 'tip_init':
> > btreplay.c:783: warning: the address of 'fn' will always evaluate as
> > 'true'
> > btreplay.c: In function 'replay_sub':
> > btreplay.c:1314: warning: the address of 'path' will always evaluate as
> > 'true'
> >
> >   
> Hi Jens -
> 
> Thanks for taking these in - I have no idea why I'm not seeing that
> here, it builds clean on ia64 (SLES10/gcc=4.1.0) and x86_64
> (Ubuntu/gcc=4.1.2).
> 
> I see why the warnings come out, and will think of a way to clean that up.

Probably gcc-4.2.1 being more chatty, I see it on i386 and x86_64 here.

-- 
Jens Axboe


      parent reply	other threads:[~2007-10-02 18:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02 16:40 [PATCH] Add btrecord/btreplay capability Alan D. Brunelle
2007-10-02 17:54 ` Jens Axboe
2007-10-02 18:05 ` Alan D. Brunelle
2007-10-02 18:07 ` Jens Axboe [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=20071002180744.GP5236@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=linux-btrace@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 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.