From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752231AbcAFAVp (ORCPT ); Tue, 5 Jan 2016 19:21:45 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:56585 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbcAFAVl (ORCPT ); Tue, 5 Jan 2016 19:21:41 -0500 Subject: Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver To: Gilad Avidov , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: sdharia@codeaurora.org, shankerd@codeaurora.org, gregkh@linuxfoundation.org, vikrams@codeaurora.org, cov@codeaurora.org References: <1451440135-25771-1-git-send-email-gavidov@codeaurora.org> From: Timur Tabi Message-ID: <568C5E12.8050100@codeaurora.org> Date: Tue, 5 Jan 2016 18:21:38 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <1451440135-25771-1-git-send-email-gavidov@codeaurora.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gilad Avidov wrote: > diff --git a/drivers/net/ethernet/qualcomm/emac/emac-mac.c b/drivers/net/ethernet/qualcomm/emac/emac-mac.c > new file mode 100644 > index 0000000..36a7746 > --- /dev/null > +++ b/drivers/net/ethernet/qualcomm/emac/emac-mac.c > @@ -0,0 +1,1808 @@ > +/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 and > + * only version 2 as published by the Free Software Foundation. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + */ > + > +/* Qualcomm Technologies, Inc. EMAC Ethernet Controller MAC layer support > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include "emac.h" > +#include "emac-sgmii.h" You also need #include otherwise you get this: CC drivers/net/ethernet/qualcomm/emac/emac-mac.o drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_tso_csum': drivers/net/ethernet/qualcomm/emac/emac-mac.c:2045:4: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration] tcp_hdr(skb)->check = ~csum_ipv6_magic( ^