From patchwork Sat Jul 14 04:25:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 943874 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="N2rnQVyt"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41SGxY4ysGz9rxx for ; Sat, 14 Jul 2018 14:32:49 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725872AbeGNEm7 (ORCPT ); Sat, 14 Jul 2018 00:42:59 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36574 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbeGNEm7 (ORCPT ); Sat, 14 Jul 2018 00:42:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bH8/5YNf8ArkQWk1ABETwjq2CgajQdfV1xV7UnKcEqs=; b=N2rnQVytuEsmaMBEB/qba3QoB ZEuMTVLxKEzhkMBUQaRa5capVu4E3cfpNGbiXciUOmwdzEeWYaphM3xDoo09PBZRPOymU22BpQcsh R90zJwsOQW+4EUcEChB/NfNa+7MBrGfchTW1qiYH7tfuilnp3O49xCb4oCcAEwYUn+v6sfzSsGk/F T+o790R6V2n8JBCsTefDMkhTQ5UYLl9Dzvopj7lKUOgbJ2+ohTKW4Ns42zEJ0iBfIvVZiUtOWsxUw Qt8xh991V7tFZUf6xghDZV/ZrWk+798MdNyB2S4jXtaxsuw06iLfG3Nlq4wDfR2uTEEmzHgW+ZRXk dp75qwmyw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1feC7U-0004PO-HG; Sat, 14 Jul 2018 04:25:20 +0000 To: "netdev@vger.kernel.org" , David Miller Cc: Madalin Bucur , PowerPC From: Randy Dunlap Subject: [PATCH] net/ethernet/freescale/fman: fix cross-build error Message-ID: <3a063d78-73f8-b41f-9354-fe839fe80c11@infradead.org> Date: Fri, 13 Jul 2018 21:25:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Randy Dunlap CC [M] drivers/net/ethernet/freescale/fman/fman.o In file included from ../drivers/net/ethernet/freescale/fman/fman.c:35: ../include/linux/fsl/guts.h: In function 'guts_set_dmacr': ../include/linux/fsl/guts.h:165:2: error: implicit declaration of function 'clrsetbits_be32' [-Werror=implicit-function-declaration] clrsetbits_be32(&guts->dmacr, 3 << shift, device << shift); ^~~~~~~~~~~~~~~ Signed-off-by: Randy Dunlap Cc: Madalin Bucur Cc: netdev@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org --- Found while doing ppc32_allmodconfig builds. include/linux/fsl/guts.h | 1 + 1 file changed, 1 insertion(+) --- lnx-418-rc4.orig/include/linux/fsl/guts.h +++ lnx-418-rc4/include/linux/fsl/guts.h @@ -16,6 +16,7 @@ #define __FSL_GUTS_H__ #include +#include /** * Global Utility Registers.