Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp6037270pxv; Wed, 7 Jul 2021 18:14:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7ba4mdFiPKu7IC0FAApX/QK58r3ckj3FciArjTAhP4zzcRfYwxtqt0yastjMJF0+TPZ5o X-Received: by 2002:a17:907:94d5:: with SMTP id dn21mr26477062ejc.124.1625706859831; Wed, 07 Jul 2021 18:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625706859; cv=none; d=google.com; s=arc-20160816; b=RAtZkU6Zdt0voXiBvy9CRxho8ppdTa6ZooWzCIgU90GIyUo9QjZrBKElIruyIFu2v6 NbI+j9FCO4WM6qd3dasL+tnhffsMyk9i5KIKJiWAX0MyXxYw713aFW9JLImF7NOSBb3Y z97ViC5Kq5oEUSkQUZZRKlDzuYN8Jfw7YBSBFcIMOxm/BtHbGTc8NNFX7OPyQr8OzyDp ZIdnaQ0JtMeH8Xspg0FHSWh7c0T1zgG+ZvCD/zAaSJ1w19qlIAiQAG++HLeeuKh7sb7H 0e1kcDfF5waEsxNjspdiJEiR/kX3ZL7F+8cq3zFj5W5EvB8y1SBBzBRcf2Y/B7+eaj7x 5iUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=DshHFss2hJRsvYkxlzFqmG5H9wDcdWPHy5DEt/1zV7o=; b=xpZPaedjbsGHUS6yYvG1DdwDB/BUhAgBAnbo/91xkqHfB0B5LlI9tBZ9FG98eH1Xlp 9cIy4VO1TXa8gIAbFK07ximJAzWdhIXcCTFZgJrM9L0dfJObLv7+jvOYYlANoiMPMp/e s8PaaaOHRYDkrdUyb6IRvzOqQzS0TmjOJm72H5sGigbJWDYEycQzuoVKFevYJpkUIWB4 5+jNN6JQNj/PAg3rulnaQGZuqBHhpoQELVKcu9EzLlXZ4izRdkQ92U7X78sXYY/3EzRQ WulxmE6fo/Foi4U8c7fiiu/T5cn10RWKR/5Dt4XbLeNWD/29mnEs1KnRAVjKxKzUI5n9 HLOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si856193ejq.666.2021.07.07.18.13.57; Wed, 07 Jul 2021 18:14:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230123AbhGHBOa (ORCPT + 99 others); Wed, 7 Jul 2021 21:14:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:53582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230106AbhGHBO3 (ORCPT ); Wed, 7 Jul 2021 21:14:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5847761C77; Thu, 8 Jul 2021 01:11:47 +0000 (UTC) Subject: Re: [PATCH] m68k/coldfire: change pll var. to clk_pll To: Arnd Bergmann Cc: Randy Dunlap , Linux Kernel Mailing List , kernel test robot , linux-m68k , uclinux-dev@uclinux.org References: <20210704230137.28915-1-rdunlap@infradead.org> <024360ce-41b2-c072-f399-7e87f516bfd0@linux-m68k.org> From: Greg Ungerer Message-ID: <2d31fb13-818b-7a90-4071-9c36b50527d1@linux-m68k.org> Date: Thu, 8 Jul 2021 11:11:45 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/7/21 6:32 am, Arnd Bergmann wrote: > On Wed, Jul 7, 2021 at 2:30 PM Greg Ungerer wrote: >> On 5/7/21 9:01 am, Randy Dunlap wrote: >>> DEFINE_CLK() makes the variable name be clk_xyz, so variable >>> 'pll' should instead be 'clk_pll'. >>> >>> In file included from ../arch/m68k/coldfire/m525x.c:12: >>> ../arch/m68k/coldfire/m525x.c:29:30: error: 'pll' undeclared here (not in a function) >>> 29 | CLKDEV_INIT(NULL, "pll.0", &pll), >>> | ^~~ >>> ../include/linux/clkdev.h:30:10: note: in definition of macro 'CLKDEV_INIT' >>> 30 | .clk = c, \ >>> | ^ >>> In file included from ../arch/m68k/coldfire/m525x.c:21: >>> ../arch/m68k/include/asm/mcfclk.h:43:27: warning: 'clk_pll' defined but not used [-Wunused-variable] >>> 43 | static struct clk clk_##clk_ref = { \ >>> | ^~~~ >>> ../arch/m68k/coldfire/m525x.c:25:1: note: in expansion of macro 'DEFINE_CLK' >>> 25 | DEFINE_CLK(pll, "pll.0", MCF_CLK); >>> | ^~~~~~~~~~ >>> >>> Fixes: 63aadb77669a ("m68k: coldfire: use clkdev_lookup on most coldfire") >>> Reported-by: kernel test robot >>> Signed-off-by: Randy Dunlap >>> Cc: Greg Ungerer >>> Cc: linux-m68k@lists.linux-m68k.org >>> Cc: uclinux-dev@uclinux.org >>> Cc: Arnd Bergmann >> >> Thanks Randy. >> >> Arnd: since this has hit mainline do you want me to pick it up >> in the m68knommu git tree and push to Linus from there? > > Yes, that would be good. Sorry I completely missed the bug report and the > earlier fix. No worries. I'll take care of it. Regards Greg