From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: Ioana Ciornei <ioana.ciornei@nxp.com>
Cc: "davem@davemloft.net" <davem@davemloft.net>,
"kuba@kernel.org" <kuba@kernel.org>,
Claudiu Manoil <claudiu.manoil@nxp.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic
Date: Wed, 13 Oct 2021 08:26:31 +0000 [thread overview]
Message-ID: <20211013082630.5evpkrmidqiap65y@skbuf> (raw)
In-Reply-To: <20211012121358.16641-1-ioana.ciornei@nxp.com>
On Tue, Oct 12, 2021 at 03:13:58PM +0300, Ioana Ciornei wrote:
> For those architectures which do not define_HAVE_ARCH_IPV6_CSUM, we need
> to include ip6_checksum.h which provides the csum_ipv6_magic() function.
>
> Fixes: fb8629e2cbfc ("net: enetc: add support for software TSO")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
> ---
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
> drivers/net/ethernet/freescale/enetc/enetc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/freescale/enetc/enetc.c b/drivers/net/ethernet/freescale/enetc/enetc.c
> index 09193b478ab3..3ae4f49a9055 100644
> --- a/drivers/net/ethernet/freescale/enetc/enetc.c
> +++ b/drivers/net/ethernet/freescale/enetc/enetc.c
> @@ -7,6 +7,7 @@
> #include <linux/udp.h>
> #include <linux/vmalloc.h>
> #include <linux/ptp_classify.h>
> +#include <net/ip6_checksum.h>
> #include <net/pkt_sched.h>
> #include <net/tso.h>
>
> --
> 2.17.1
>
next prev parent reply other threads:[~2021-10-13 8:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-12 12:13 [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic Ioana Ciornei
2021-10-13 8:26 ` Vladimir Oltean [this message]
2021-10-13 14:30 ` patchwork-bot+netdevbpf
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=20211013082630.5evpkrmidqiap65y@skbuf \
--to=vladimir.oltean@nxp.com \
--cc=claudiu.manoil@nxp.com \
--cc=davem@davemloft.net \
--cc=ioana.ciornei@nxp.com \
--cc=kuba@kernel.org \
--cc=netdev@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