From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423101Ab3FUOng (ORCPT ); Fri, 21 Jun 2013 10:43:36 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:56071 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1161419Ab3FUOne (ORCPT ); Fri, 21 Jun 2013 10:43:34 -0400 Message-ID: <1371825813.19215.34.camel@joe-AO722> Subject: Re: [PATCH v7] ethernet/arc/arc_emac - Add new driver From: Joe Perches To: Alexey Brodkin Cc: "netdev@vger.kernel.org" , Andy Shevchenko , Francois Romieu , Vineet Gupta , Mischa Jonker , Arnd Bergmann , Grant Likely , Rob Herring , Paul Gortmaker , "David S. Miller" , "linux-kernel@vger.kernel.org" , "devicetree-discuss@lists.ozlabs.org" , Florian Fainelli Date: Fri, 21 Jun 2013 07:43:33 -0700 In-Reply-To: <4881796E12491D4BB15146FE0209CE643F5F587E@DE02WEMBXB.internal.synopsys.com> References: <1371799241-27771-1-git-send-email-abrodkin@synopsys.com> <1371810775.19215.30.camel@joe-AO722> <4881796E12491D4BB15146FE0209CE643F5F587E@DE02WEMBXB.internal.synopsys.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2013-06-21 at 10:53 +0000, Alexey Brodkin wrote: > On 06/21/2013 02:32 PM, Joe Perches wrote: > > On Fri, 2013-06-21 at 11:20 +0400, Alexey Brodkin wrote: > >> Driver for non-standard on-chip ethernet device ARC EMAC 10/100, > >> instantiated in some legacy ARC (Synopsys) FPGA Boards such as > >> ARCAngel4/ML50x. [] > >> + rxbd->data = (unsigned char *)cpu_to_le32(rx_buff->skb->data); > > > > 32 bit only. Should the Kconfig block have some arch_arc dependency > > so it can't get compiled for 64 bit systems? [] > So for now I may easily add dependency on ARC if it makes acceptance of > driver easier. I don't think it's a big problem. Maybe add a Kconfig "depends on !64BIT". Another thing to do would be to run it through sparse with make C=1