Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp233682imm; Thu, 21 Jun 2018 17:21:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKpCWrJ6mbs3/CZWMlBaXYX07xcJL0ZTq9wltx0QkT4eOUxSWqIJVSGndcjz0oLhVCzQIdE X-Received: by 2002:a17:902:b285:: with SMTP id u5-v6mr31318840plr.183.1529626876659; Thu, 21 Jun 2018 17:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529626876; cv=none; d=google.com; s=arc-20160816; b=JFK+LaeiuB0AQUzV2Di4rZ4D5Q0ossh17f7QsOdji2U5Y1lZKQ9Xba+IAkCc8JOMF3 H679qlsViAt/GUb9W4zyd6ny9tvTuhfwFfpGQDkRNfqd/t62DxjntEFDEmsX5uJP+vRF KX9emUMpblYP1AQpIAHDO5YONRg5AOsl4WXCh9BzNDCucbuCd+URpC2SPsxeYCGrtirx +HWosGNWRHXzuEoJk6QGjDkiCpJX3T4g96wwja6U0QSDMTLtNt3G0J+Sr6GqJielgml8 Qi0aqnljq8IYbLglcg04b1UtQXroL7Jk0Hswd1UITFwN24eVjG/VHNflzB33cNqXPtWB y1eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=1atHEvXz9sS0vc9dZiyDh7mfzZaNxnJAftRtX5QSH5g=; b=fZBXIQsXTh5meWoRUsJsWIlYidjK2WpqtVW89ntBV8REueHR691jNFT8wcPpPEeQRO EKsKBRYWGwQ5LZWkXjV70bB6oVhE9BkkgeVvc5fldj9oPpW740ucNkEaMnzLTcybjl5W 40n3zubPEuC/5cB1FmCMAW7rXrxp3nCHbJAvoYsg+IfGYqXl5RH2EKD+G5OMpJePKb7z kz6j3cn4ZXK5utkGi8am6xYNp1cFXBhlIs+SjOWyR9xTTg0jdO8A6/zqg+8ZquqApi1W AFBTah1KwwCP65rJxTgrAf79m9yQnPSAL0Tlk7IL4Ea5JbZdQKaPx4ImeK/IicyN3oEa vQng== 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 n64-v6si181021pgn.199.2018.06.21.17.21.01; Thu, 21 Jun 2018 17:21:16 -0700 (PDT) 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 S933878AbeFVAUW (ORCPT + 99 others); Thu, 21 Jun 2018 20:20:22 -0400 Received: from icp-osb-irony-out5.external.iinet.net.au ([203.59.1.221]:59663 "EHLO icp-osb-irony-out5.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933729AbeFVAUV (ORCPT ); Thu, 21 Jun 2018 20:20:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2CkAABbQCxb/zXSMGcNTxoBAQEBAQIBA?= =?us-ascii?q?QEBCAEBAQGFPxODeZYmIpZ5hHcCgxw4FAECAQEBAQEBAoY+AQEBAyMPAQVBEAs?= =?us-ascii?q?NCwICJgICVwYNBgIBAYMhgXOqYm2CHBqEQYNogQWBC4lcgTYMgi4uh3uCVQKZJ?= =?us-ascii?q?ggBjwqIH4UokziBczMaCCgIgyKCIReOKV2QLAEB?= X-IPAS-Result: =?us-ascii?q?A2CkAABbQCxb/zXSMGcNTxoBAQEBAQIBAQEBCAEBAQGFPxO?= =?us-ascii?q?DeZYmIpZ5hHcCgxw4FAECAQEBAQEBAoY+AQEBAyMPAQVBEAsNCwICJgICVwYNB?= =?us-ascii?q?gIBAYMhgXOqYm2CHBqEQYNogQWBC4lcgTYMgi4uh3uCVQKZJggBjwqIH4Uokzi?= =?us-ascii?q?BczMaCCgIgyKCIReOKV2QLAEB?= X-IronPort-AV: E=Sophos;i="5.51,253,1526313600"; d="scan'208";a="142791210" Received: from unknown (HELO [10.44.0.22]) ([103.48.210.53]) by icp-osb-irony-out5.iinet.net.au with ESMTP; 22 Jun 2018 08:19:55 +0800 Subject: Re: [PATCH v2] m68knommu: Fix typos in Coldfire 5272 DMA debug code To: Geert Uytterhoeven Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org References: <20180621203053.32047-1-geert@linux-m68k.org> From: Greg Ungerer Message-ID: Date: Fri, 22 Jun 2018 10:19:53 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180621203053.32047-1-geert@linux-m68k.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On 22/06/18 06:30, Geert Uytterhoeven wrote: > If DEBUG_DMA is defined: > > include/asm/dma.h: In function ‘set_dma_mode’: > include/asm/dma.h:393: error: ‘dmabp’ undeclared (first use in this function) > include/asm/dma.h:393: error: (Each undeclared identifier is reported only once > include/asm/dma.h:393: error: for each function it appears in.) > include/asm/dma.h: In function ‘set_dma_addr’: > include/asm/dma.h:424: error: ‘dmawp’ undeclared (first use in this function) > > Reported-by: kbuild test robot > Signed-off-by: Geert Uytterhoeven > Acked-by: Greg Ungerer Do you want me to take this via the m68knommu git tree? Regards Greg > --- > v2: > - Add Acked-by. > --- > arch/m68k/include/asm/dma.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/m68k/include/asm/dma.h b/arch/m68k/include/asm/dma.h > index b0978a23bad1d7ee..ae2021964e32d36f 100644 > --- a/arch/m68k/include/asm/dma.h > +++ b/arch/m68k/include/asm/dma.h > @@ -390,7 +390,7 @@ static __inline__ void set_dma_mode(unsigned int dmanr, char mode) > > #ifdef DEBUG_DMA > printk("%s(%d): dmanr=%d DMR[%x]=%x DIR[%x]=%x\n", __FILE__, __LINE__, > - dmanr, (int) &dmalp[MCFDMA_DMR], dmabp[MCFDMA_DMR], > + dmanr, (int) &dmalp[MCFDMA_DMR], dmalp[MCFDMA_DMR], > (int) &dmawp[MCFDMA_DIR], dmawp[MCFDMA_DIR]); > #endif > } > @@ -421,7 +421,7 @@ static __inline__ void set_dma_addr(unsigned int dmanr, unsigned int a) > > #ifdef DEBUG_DMA > printk("%s(%d): dmanr=%d DMR[%x]=%x SAR[%x]=%08x DAR[%x]=%08x\n", > - __FILE__, __LINE__, dmanr, (int) &dmawp[MCFDMA_DMR], dmawp[MCFDMA_DMR], > + __FILE__, __LINE__, dmanr, (int) &dmalp[MCFDMA_DMR], dmalp[MCFDMA_DMR], > (int) &dmalp[MCFDMA_DSAR], dmalp[MCFDMA_DSAR], > (int) &dmalp[MCFDMA_DDAR], dmalp[MCFDMA_DDAR]); > #endif >