All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bram Bouwens <bram at bouwens.org>
To: powertop@lists.01.org
Subject: Re: [Powertop] [PATCH v2] conditionally disable pci if not supported
Date: Mon, 25 Jun 2012 19:00:09 +0200	[thread overview]
Message-ID: <4FE89919.6030803@bouwens.org> (raw)
In-Reply-To: CA+Z25wWdE=FYXpTqcyebk4hwJpjvz9BodfrH__Tn1D47jgEj1Q@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

On 06/25/2012 06:34 PM, Rajagopal Venkat wrote:
>
>
> On 25 June 2012 21:34, Arjan van de Ven <arjan(a)linux.intel.com <mailto:arjan(a)linux.intel.com>> wrote:
>
>     On 6/25/2012 9:00 AM, Rajagopal Venkat wrote:
>
>     <no commit message .. why? one sentence is cheap>
>
> Ok. Taken care.
>
>
>      >
>      > diff --git a/src/lib.h b/src/lib.h
>      > index 588c023..d354151 100644
>      > --- a/src/lib.h
>      > +++ b/src/lib.h
>      > @@ -30,6 +30,10 @@
>      >  #endif
>      >  #include <stdint.h>
>      >
>      > +#if HAVE_CONFIG_H
>      > +#include "config.h"
>      > +#endif
>      > +
>      >  #ifndef DISABLE_I18N
>      >  #define _(STRING)    gettext(STRING)
>      >  #else
>      >
>
>
>
>     ok this chunk I do not understand;
>     the rest of your patch looks very reasonable.
>     why is config.h inside an if ?
>
>
> config.h is auto generated by autoconf and is not applicable for Android build.
> Yes. it should be wrapped in ifdef.
>

You might indicate this in a comment in the code.

Other than that, I like the idea of being able to build powertop on my BeagleBone!

Bram

             reply	other threads:[~2012-06-25 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 17:00 Bram Bouwens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-06-25 16:34 [Powertop] [PATCH v2] conditionally disable pci if not supported Rajagopal Venkat
2012-06-25 16:04 Arjan van de Ven
2012-06-25 16:00 Rajagopal Venkat

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=4FE89919.6030803@bouwens.org \
    --to=powertop@lists.01.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.