From: "Zhang, Rui" <rui.zhang@intel.com>
To: "dedekind1@gmail.com" <dedekind1@gmail.com>,
"calvin@wbinvd.org" <calvin@wbinvd.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
"lenb@kernel.org" <lenb@kernel.org>
Subject: Re: [PATCH] tools/power turbostat: Fix build with musl
Date: Mon, 16 Jun 2025 01:31:43 +0000 [thread overview]
Message-ID: <7325c49d7d2c407f7391ed30e3a7e0c8898bf5cb.camel@intel.com> (raw)
In-Reply-To: <17f85f0bfa5446b86188616349b17d02fe207c22.camel@gmail.com>
On Fri, 2025-06-13 at 20:45 +0300, Artem Bityutskiy wrote:
> On Fri, 2025-06-13 at 09:54 -0700, Calvin Owens wrote:
> > turbostat.c: In function 'parse_int_file':
> > turbostat.c:5567:19: error: 'PATH_MAX' undeclared (first use in
> > this function)
> > 5567 | char path[PATH_MAX];
> > | ^~~~~~~~
> >
> > turbostat.c: In function 'probe_graphics':
> > turbostat.c:6787:19: error: 'PATH_MAX' undeclared (first use in
> > this function)
> > 6787 | char path[PATH_MAX];
> > | ^~~~~~~~
> >
> > Signed-off-by: Calvin Owens <calvin@wbinvd.org>
> Reviewed-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
>
May I know how to reproduce this?
-rui
next prev parent reply other threads:[~2025-06-16 1:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-13 16:54 [PATCH] tools/power turbostat: Fix build with musl Calvin Owens
2025-06-13 17:45 ` Artem Bityutskiy
2025-06-16 1:31 ` Zhang, Rui [this message]
2025-06-16 3:47 ` Calvin Owens
2025-06-18 3:30 ` Zhang, Rui
2025-06-18 14:42 ` Len Brown
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=7325c49d7d2c407f7391ed30e3a7e0c8898bf5cb.camel@intel.com \
--to=rui.zhang@intel.com \
--cc=calvin@wbinvd.org \
--cc=dedekind1@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@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