Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1255385rdb; Mon, 4 Sep 2023 07:46:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHjM/oV20yysvA9jOnZgQaRGBw8LhuU5obKso4UVVgX4LjM2K3SDZulRGMSRBlSy+8d0qmM X-Received: by 2002:a17:90b:4017:b0:271:9b4d:dcc7 with SMTP id ie23-20020a17090b401700b002719b4ddcc7mr7389900pjb.1.1693838792289; Mon, 04 Sep 2023 07:46:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693838792; cv=none; d=google.com; s=arc-20160816; b=bIQ1OsrQwFktpOW8YJezwmA6+D90zV9H2j8w9OKPcnPCKbSpObprmfDzPknjTsqAfp o7UNvffF5TaiiGqdiRNUxG/i3HWUw/8TTFGdQ1OrcwlxX9MYKJHzUx6Le29L1EN4FIgn pL3QRcNJloMJI37idA4yXBKmn/Y+VfgYNx/z09d5plc7FGx5GhWG/iCORv/kvIkVO5XL +6xAuOMfdl0oHzS0VjwXgh+296Em5dPUPl4W+qIlh04+dof2tFFrZVeVu+zV6+gvBjdw Ie5LyyEiS+P/FnD6BJUpyVzVFM6W3u5t11QWiE1yYpaGcyiXdFxWOrSh+CdIpPR85X4f 6nBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=tKqT/pdZkMCW0QLvVyRpGs/4bw5ogrfQew7KUbAG7OM=; fh=JzKHHR67PjkY4CwMFffmIryPlpZDlT5bmEVCTcCV51o=; b=IA0Lm/tf1FgxRkCSn6sXoVNrLLcZfdeGxXFfcqMu5KyVE9xSx98ywQN2pinxqo98Zj NYYZ8XFF+i0TRd3ITKTznzjH/pMnSwtGM62P/jTKAIVXOAitIIBEh98c44SX0PrmLboP JFUU+bTYnP4C03B9eeBalqZryNIgijBWMyTkwXg60hF1/d77S14udtcOqizxo91UONrU kNXmjJgufyB4yaRik870rNcEVMN9p8mUSD+3/YPZEgUA/lLlXN8yEGxLb8OgSMOVeb4e 0mWR7BMGe0ioloPXdw+nAaGrVyybamQdADw6FIo0uhOFYBil3B28csCS6rKr3midoQoh gXgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x27-20020a63b21b000000b00563fac86c55si7825130pge.134.2023.09.04.07.46.18; Mon, 04 Sep 2023 07:46:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243599AbjIDNYF (ORCPT + 99 others); Mon, 4 Sep 2023 09:24:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbjIDNYF (ORCPT ); Mon, 4 Sep 2023 09:24:05 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24632C1 for ; Mon, 4 Sep 2023 06:24:02 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 8B37268AFE; Mon, 4 Sep 2023 15:23:58 +0200 (CEST) Date: Mon, 4 Sep 2023 15:23:58 +0200 From: Christoph Hellwig To: kernel test robot Cc: Christoph Hellwig , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Luis Chamberlain , Arnd Bergmann Subject: Re: db1000.c:undefined reference to `mmc_detect_change' Message-ID: <20230904132358.GA4741@lst.de> References: <202309031319.FjILvr3H-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202309031319.FjILvr3H-lkp@intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ok, looks like the problem is that the mips arch code is still built without the au1mmc driver. I think the code just needs to become conditional, I'll look into it. On Sun, Sep 03, 2023 at 01:47:19PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 92901222f83d988617aee37680cb29e1a743b5e4 > commit: d4a5c59a955bba96b273ec1a5885bada24c56979 mmc: au1xmmc: force non-modular build and remove symbol_get usage > date: 4 weeks ago > config: mips-randconfig-r003-20230903 (https://download.01.org/0day-ci/archive/20230903/202309031319.FjILvr3H-lkp@intel.com/config) > compiler: mipsel-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230903/202309031319.FjILvr3H-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202309031319.FjILvr3H-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > mipsel-linux-ld: arch/mips/alchemy/devboards/db1000.o: in function `db1100_mmc_cd': > >> db1000.c:(.text+0x1f0): undefined reference to `mmc_detect_change' > mipsel-linux-ld: arch/mips/alchemy/devboards/db1200.o: in function `pb1200_mmc1_cdfn': > >> db1200.c:(.text+0x3b0): undefined reference to `mmc_detect_change' > mipsel-linux-ld: arch/mips/alchemy/devboards/db1200.o: in function `db1200_mmc_cdfn': > db1200.c:(.text+0x428): undefined reference to `mmc_detect_change' > mipsel-linux-ld: arch/mips/alchemy/devboards/db1300.o: in function `db1300_mmc_cdfn': > >> db1300.c:(.text+0x240): undefined reference to `mmc_detect_change' > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki ---end quoted text---