From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH V1 net-next] net: ena: fix compilation error in xtensa architecture Date: Mon, 22 Oct 2018 19:48:10 -0700 (PDT) Message-ID: <20181022.194810.1366604946033170190.davem@davemloft.net> References: <1540134434-6774-1-git-send-email-akiyano@amazon.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, dwmw@amazon.com, zorik@amazon.com, matua@amazon.com, saeedb@amazon.com, msw@amazon.com, aliguori@amazon.com, nafea@amazon.com, gtzalik@amazon.com, netanel@amazon.com, alisaidi@amazon.com To: akiyano@amazon.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:40052 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725883AbeJWLJ2 (ORCPT ); Tue, 23 Oct 2018 07:09:28 -0400 In-Reply-To: <1540134434-6774-1-git-send-email-akiyano@amazon.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Date: Sun, 21 Oct 2018 18:07:14 +0300 > From: Arthur Kiyanovski > > linux/prefetch.h is never explicitly included in ena_com, although > functions from it, such as prefetchw(), are used throughout ena_com. > This is an inclusion bug, and we fix it here by explicitly including > linux/prefetch.h. The bug was exposed when the driver was compiled > for the xtensa architecture. > > Fixes: 689b2bdaaa14 ("net: ena: add functions for handling Low Latency Queues in ena_com") > Fixes: 8c590f977638 ("ena: Fix Kconfig dependency on X86") > Signed-off-by: Arthur Kiyanovski Applied.