From: David Marchand <david.marchand@redhat.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: dev@dpdk.org, Elena Agostini <eagostini@nvidia.com>,
Bruce Richardson <bruce.richardson@intel.com>,
Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Subject: Re: [PATCH] gpu/cuda: fix build
Date: Fri, 23 Sep 2022 10:29:27 +0200 [thread overview]
Message-ID: <CAJFAV8yMSP0yfkNcXn0jhHUZW+dRBUXjNshiDgmjW+DjrukjCQ@mail.gmail.com> (raw)
In-Reply-To: <20220923082554.3832169-1-thomas@monjalon.net>
On Fri, Sep 23, 2022 at 10:26 AM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> A recent commit removed errno.h from rte_common.h.
> It has to be added in various places where it is used,
> and wad implicitly included via rte_common.h,
was*
> but was forgotten in gpu/cuda.
>
> As a result, the compilation is broken:
> drivers/gpu/cuda/gdrcopy.c:116:17: error: ‘ENOTSUP’ undeclared
>
> Note that rte_errno.h does not include errno.h.
> The include of errno.h is added.
>
> Fixes: 72b452c5f259 ("eal: remove unneeded includes from a public header")
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
I installed the cuda library headers and can confirm the build issue is fixed.
Tested-by: David Marchand <david.marchand@redhat.com>
--
David Marchand
next prev parent reply other threads:[~2022-09-23 8:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-23 8:25 Thomas Monjalon
2022-09-23 8:29 ` David Marchand [this message]
2022-09-23 8:41 ` David Marchand
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=CAJFAV8yMSP0yfkNcXn0jhHUZW+dRBUXjNshiDgmjW+DjrukjCQ@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=dmitry.kozliuk@gmail.com \
--cc=eagostini@nvidia.com \
--cc=thomas@monjalon.net \
/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).