Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3672726imm; Mon, 6 Aug 2018 08:39:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf7d7oYH6VxDovbOwWPfOQGM8hs96IB8Ni0E5lnmd3xWkbHLvl6bqytKinGmLx+Z64VWOcA X-Received: by 2002:a62:3241:: with SMTP id y62-v6mr17787957pfy.4.1533569994649; Mon, 06 Aug 2018 08:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533569994; cv=none; d=google.com; s=arc-20160816; b=cUJGDVTXcWdk9duU3apbvG2PJNKz2nxAN/ua0IUHZ1Ljwsac2O69kUbKn/QJ+5IFvN UKl+UTteuNGAeWvqW4PobD+mNHjcctHDNN1ipylWkPk2R5tSWlzQZWi0JTsiQMAK2yLL zhuwuiLpupAjM9rVeuSwIEybrvKBWweisjBKkw2zPqDCznlHxYTdnpKw/66t3Iztp1hG u8FdvgJhnkK9sGnKU97FjMjrxC28AC3JeQWXzrmKaUkKIih6GTOrZ/iRsavkh7Xvcf0P URR81LDPZtjj47nPsx1rRPZTepennYIZdPqvX1+Q9RaPw7R4plZNjcU0mhDawZgZzWqK OzpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-filter:arc-authentication-results; bh=ABm8kb2LrQ2lSlOWTvbWBAi2+sIkc4f1sSaNEwyzXco=; b=A+qytPgDq0cu4fOZibYJq2TIS7r9hDUAtfBxPTXU//Xe7D70+q+zMNw0VyXDavMZU4 fFp+R1CUbwR9ulrXomV6PIZ4FtI/EgkfbFP8JAv6DfrrjNCJgpqCa7cAPLN6zGd6iyS3 kCgji0pASA13rjfSxhrpXiEkgvSr5Ys6OB+I7x3QtjXNJQMUKjy6mywc/4Kat5AmyFMp TpYiblupNs7j/Qi2QGtopC6nBRHxIFjynpIb6rtc3h6pEzCMHu95YiMBaxLHQmfX3oEH hCuSbDKoIGgEVBE3dihlTcpDEnF3PFJIF6Jgi6E+sk63KEpSUHlMT0GMoe9KcYdUvbJU S83A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-watchdog.org header.s=odk20180602 header.b=LgCq2F6Y; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=linux-watchdog.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si10236497pls.385.2018.08.06.08.39.39; Mon, 06 Aug 2018 08:39:54 -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; dkim=pass header.i=@linux-watchdog.org header.s=odk20180602 header.b=LgCq2F6Y; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=linux-watchdog.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732923AbeHFRs2 (ORCPT + 99 others); Mon, 6 Aug 2018 13:48:28 -0400 Received: from www.linux-watchdog.org ([185.87.125.42]:45946 "EHLO www.linux-watchdog.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730724AbeHFRs2 (ORCPT ); Mon, 6 Aug 2018 13:48:28 -0400 X-Greylist: delayed 341 seconds by postgrey-1.27 at vger.kernel.org; Mon, 06 Aug 2018 13:48:27 EDT Received: by www.linux-watchdog.org (Postfix, from userid 500) id 41ADF4067D; Mon, 6 Aug 2018 17:14:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 www.linux-watchdog.org 41ADF4067D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-watchdog.org; s=odk20180602; t=1533568449; bh=JneeQ9cHGl0czOiKgt44QH2jJYFKtX0Ag3QIkfxVXXI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LgCq2F6YumO65J+sWPyVPemnMl4EQgsnC2dP1atY7b6qEssSD/z8HdWjR4A4XT39h 8LFQUTiYUrgrcBcEDI+7N/+96GXBPZBISulnBdAGWeaiusnBAyR/j0IWlORwhwH++E ZmhFuNGjCaBvcbvvgrZWkvlwG9JvWE+88IyHrxyo= Date: Mon, 6 Aug 2018 17:14:09 +0200 From: Wim Van Sebroeck To: Johannes Thumshirn Cc: Randy Dunlap , Wim Van Sebroeck , Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List , linux-watchdog@vger.kernel.org Subject: Re: linux-next: Tree for Aug 3 (watchdog/menz69_wdt.c) Message-ID: <20180806151409.GA12969@www.linux-watchdog.org> References: <20180803192942.6975df0c@canb.auug.org.au> <9d17144d-6f19-781f-8abc-1ee1c6f840bd@infradead.org> <20180803164024.tfujwvz2s6ekvjpv@linux-x5ow.site> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180803164024.tfujwvz2s6ekvjpv@linux-x5ow.site> User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Johannes, > On Fri, Aug 03, 2018 at 08:39:48AM -0700, Randy Dunlap wrote: > > On 08/03/2018 02:29 AM, Stephen Rothwell wrote: > > > Hi all, > > > > > > Changes since 20180802: > > > > > > > Hi, > > > > On i386 randconfig with COMPILE_TEST=y and MCB not enabled, I see: > > > > drivers/watchdog/menz69_wdt.o: In function `men_z069_remove': > > menz69_wdt.c:(.text+0xa6): undefined reference to `mcb_release_mem' > > drivers/watchdog/menz69_wdt.o: In function `men_z069_probe': > > menz69_wdt.c:(.text+0xdb): undefined reference to `mcb_request_mem' > > menz69_wdt.c:(.text+0x14a): undefined reference to `mcb_release_mem' > > drivers/watchdog/menz69_wdt.o: In function `men_z069_driver_init': > > menz69_wdt.c:(.init.text+0x15): undefined reference to `__mcb_register_driver' > > drivers/watchdog/menz69_wdt.o: In function `men_z069_driver_exit': > > menz69_wdt.c:(.exit.text+0x9): undefined reference to `mcb_unregister_driver' > > > > > > The Kconfig for MENZ069_WATCHDOG says: > > config MENZ069_WATCHDOG > > tristate "MEN 16Z069 Watchdog" > > depends on MCB || COMPILE_TEST > > select WATCHDOG_CORE > > > > Looks to me like the driver really depends on MCB, unless someone wants > > to add stubs in . > > *doh* looks like a copy & paste error. Wim can you fold that one in > (or stage to your tree)? Added in my tree. Kind regards, Wim. > >From ae045015849cd15fd180e20f44d364e7a37c39c6 Mon Sep 17 00:00:00 2001 > From: Johannes Thumshirn > Date: Fri, 3 Aug 2018 18:35:17 +0200 > Subject: [PATCH] watchdog: fix dependencies of menz69_wdt.o > > Currently menz69_wdt.ko has a dependency on MCB or COMPILE_TEST. But > it actually needs symbols exported by MCB so the || COMPILE_TEST is > wrong. > > Signed-off-by: Johannes Thumshirn > Reported-by: Randy Dunlap > --- > drivers/watchdog/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > index df55d65bbb1c..5ea8909a41f9 100644 > --- a/drivers/watchdog/Kconfig > +++ b/drivers/watchdog/Kconfig > @@ -163,7 +163,7 @@ config MENF21BMC_WATCHDOG > > config MENZ069_WATCHDOG > tristate "MEN 16Z069 Watchdog" > - depends on MCB || COMPILE_TEST > + depends on MCB > select WATCHDOG_CORE > help > Say Y here to include support for the MEN 16Z069 Watchdog. > -- > 2.16.4 > > > > -- > Johannes Thumshirn Storage > jthumshirn@suse.de +49 911 74053 689 > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg > GF: Felix Imend?rffer, Jane Smithard, Graham Norton > HRB 21284 (AG N?rnberg) > Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850