Received: by 10.223.176.5 with SMTP id f5csp1026692wra; Fri, 2 Feb 2018 09:56:51 -0800 (PST) X-Google-Smtp-Source: AH8x224BkChV0cCbXRhVovgdgieOe/MjpdVvN7wqCkgyRzuc0JYbwgCVYPChZoDpkyWQQKIyNKdd X-Received: by 10.98.197.3 with SMTP id j3mr40261866pfg.93.1517594211811; Fri, 02 Feb 2018 09:56:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517594211; cv=none; d=google.com; s=arc-20160816; b=X08zegiqmNah9B3hxjewSyEIn3qty6GmQ/trF2JqjpmmjWiW0UDRu6uD8v6TcfY8Zv u8B7Qvh7V93PfOtk+T1lh4sa8vsYM3mvlPRNz+gxLe60TCsFABMh4yWmZGyngBpMkv0U jkve7sf4cl2Rwlr30Y2S18DKp5HY5CyE5xOlpemN7YZPwxLpXMroDTHY+VhvorUx13UH +0fFozr6O/hd4wGCZSkQVAP0RX49pZELxgwEvm+JznBct5jQuTsi6f740EH+JnThLT8X mANsfjYUeQ1pxK1BAdNUP2VZznzLkEnpk/9LwSgEbop30+utH/8dXKSOpx94qR8xgORc RZRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=6xwpLGNt3mRfye0gqxbtQaGRabZxPjoFKhhAvu2FPhE=; b=YghNJ+0Q9hiR91TXq1B7s5m6/V8JwgXCoRDsN1HdrM3/SKbWGntXl+HXsyXGDcdA5q pg8dywH4VNxkZYtuo3FHDoFO0vURfPgx3GL80UZLMtzyA0utKS2FsdAjDdhxRszZdKt0 DUEBI5feN3KktqA4LYjHsJTKt/V4B3laGi8PejG5iel1sR/XFLQB+n0jvMBPN3O8yBDs y0Sqp721YUrowBQZsgkcpVXgQEf9d3yp06KMMjgn8QtPd7zdqQACcEIkBYqLb0IaRhSx M36K16jwyDTkpQeFe57jCN6s6ZrDTCn3bpdKOZeePstnFUJp6MCIhy0NWKEpp3oyVs3L OeQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si1701249pgs.511.2018.02.02.09.56.37; Fri, 02 Feb 2018 09:56:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753406AbeBBRyS (ORCPT + 99 others); Fri, 2 Feb 2018 12:54:18 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:38840 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752686AbeBBRL7 (ORCPT ); Fri, 2 Feb 2018 12:11:59 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 83658F1F; Fri, 2 Feb 2018 17:11:57 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , "David S. Miller" , Sasha Levin Subject: [PATCH 4.14 100/156] net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit Date: Fri, 2 Feb 2018 17:58:01 +0100 Message-Id: <20180202140844.737064475@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180202140840.242829545@linuxfoundation.org> References: <20180202140840.242829545@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Geert Uytterhoeven [ Upstream commit 15bfe05c8d6386f1a90e9340d15336e85e32aad6 ] On 64-bit (e.g. powerpc64/allmodconfig): drivers/net/ethernet/xilinx/ll_temac_main.c: In function 'temac_start_xmit_done': drivers/net/ethernet/xilinx/ll_temac_main.c:633:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dev_kfree_skb_irq((struct sk_buff *)cur_p->app4); ^ cdmac_bd.app4 is u32, so it is too small to hold a kernel pointer. Note that several other fields in struct cdmac_bd are also too small to hold physical addresses on 64-bit platforms. Signed-off-by: Geert Uytterhoeven Signed-off-by: David S. Miller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/xilinx/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/xilinx/Kconfig +++ b/drivers/net/ethernet/xilinx/Kconfig @@ -34,6 +34,7 @@ config XILINX_AXI_EMAC config XILINX_LL_TEMAC tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver" depends on (PPC || MICROBLAZE) + depends on !64BIT || BROKEN select PHYLIB ---help--- This driver supports the Xilinx 10/100/1000 LocalLink TEMAC