From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C9BEC2BB1D for ; Thu, 12 Mar 2020 16:59:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BA463206F1 for ; Thu, 12 Mar 2020 16:59:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SEyYl1P1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA463206F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 28B8E6B0007; Thu, 12 Mar 2020 12:59:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 239806B000C; Thu, 12 Mar 2020 12:59:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1505E6B000D; Thu, 12 Mar 2020 12:59:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0026.hostedemail.com [216.40.44.26]) by kanga.kvack.org (Postfix) with ESMTP id F19B86B0007 for ; Thu, 12 Mar 2020 12:59:30 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 9F984181AEF32 for ; Thu, 12 Mar 2020 16:59:30 +0000 (UTC) X-FDA: 76587321300.15.oven37_35e1d9f4fc65d X-HE-Tag: oven37_35e1d9f4fc65d X-Filterd-Recvd-Size: 7116 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by imf14.hostedemail.com (Postfix) with ESMTP for ; Thu, 12 Mar 2020 16:59:30 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id l18so8389548wru.11 for ; Thu, 12 Mar 2020 09:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=nQC0QSzFNBjeDFgkasDXcXEkr8IK6cRuABug8n4HpyY=; b=SEyYl1P17U723AAa+CbznLSA1uyOrnLUfVk1NNG23zxnCcAGG9rAtjiv3FevqOfdf/ u+/UQSk72yceMW65Ir5wjscdMBuxIoTu/zT1/k1q6JXUJoycBOLqqaFj/kGjqeYA7M14 D5/Qfq5zW/x8JkjiWQIIqxvj9mL52fZ82FKOj2Q+zR3Zq5Egw3ApSCb7JLMBp41Wwgyu G8hSeY8oZBzc7qS7UECsz2QtI4oJEe/akxiNyk90adBToog6GAo/qxGNjrDp0weVWczl RR4qVBmdowZm6gKlFJNNRVJXmQYAbiKF1kc2O2+WvebXV0VAXnzSS5/SyGPrLI7Dwm9J nlmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nQC0QSzFNBjeDFgkasDXcXEkr8IK6cRuABug8n4HpyY=; b=OrER/nZEDW87H6lwFuQAvy4121XerRF5jRm+7ZDxEvv2TyQaRmHFBePVo4eORi5oDj E+rkVQf1ccJF+nm152OxO1BRB2Mcol4A6MkRPen84ul5LESe7YlIsSYjtbuqO4Ne22aX rScDu6RN8hkTzil3h4+ZeyORN+TeJWPXZfrbOFOdU2cBm/tbH5uYU/bOz09iDGtbBw95 ZO+I8y2pOWOcwpE74hQ7zs9flhyQbqRmXNcofhv/HeAyjkdmcUQ1fD9ccvsbyGASYiSL u5WFhfra0YY84w5TO/NqWBNnCndVYr6Wj39nRQ6aqJnuHx1yx/r0tr8OcAlOWjUP0P6R GT/Q== X-Gm-Message-State: ANhLgQ285i7LlBz2ZqC4CPk9fHN4DPWEQcCGG8ZkJnNDJ1MhV596vbpN Fyfbr+/gHgSBdhYnIueydtC0TQ== X-Google-Smtp-Source: ADFU+vtsjvk5wo4ek2GJmozMoUUD/QFXQN2Lb/I85PUHa/iiHKI/CHcnqR1KBbMsE0qJbK4lelEbSA== X-Received: by 2002:a5d:46cc:: with SMTP id g12mr11829040wrs.42.1584032369018; Thu, 12 Mar 2020 09:59:29 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id 7sm1714719wmf.20.2020.03.12.09.59.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2020 09:59:28 -0700 (PDT) Subject: Re: mmotm 2020-03-11-21-11 uploaded (sound/soc/codecs/wcd9335.c) To: Randy Dunlap , Andrew Morton , broonie@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz, mm-commits@vger.kernel.org, sfr@canb.auug.org.au, moderated for non-subscribers , masahiroy@kernel.org References: <20200312041232.wBVu2sBcq%akpm@linux-foundation.org> From: Srinivas Kandagatla Message-ID: Date: Thu, 12 Mar 2020 16:59:27 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.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 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Adding+ Masahiro Yamada for more inputs w.r.t kconfig. Kconfig side we have: config SND_SOC_ALL_CODECS tristate "Build all ASoC CODEC drivers" imply SND_SOC_WCD9335 config SND_SOC_WCD9335 tristate "WCD9335 Codec" depends on SLIMBUS ... The implied symbol SND_SOC_WCD9335 should be set based on direct dependency, However in this case, direct dependency SLIMBUS=m where as SND_SOC_WCD9335=y. I would have expected to be SND_SOC_WCD9335=m in this case. Is this a valid possible case or a bug in Kconfig? Thanks, srini On 12/03/2020 15:03, Randy Dunlap wrote: > On 3/11/20 9:12 PM, Andrew Morton wrote: >> The mm-of-the-moment snapshot 2020-03-11-21-11 has been uploaded to >> >> http://www.ozlabs.org/~akpm/mmotm/ >> >> mmotm-readme.txt says >> >> README for mm-of-the-moment: >> >> http://www.ozlabs.org/~akpm/mmotm/ >> >> This is a snapshot of my -mm patch queue. Uploaded at random hopefully >> more than once a week. >> >> You will need quilt to apply these patches to the latest Linus release (5.x >> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated in >> http://ozlabs.org/~akpm/mmotm/series >> >> The file broken-out.tar.gz contains two datestamp files: .DATE and >> .DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-ss, >> followed by the base kernel version against which this patch series is to >> be applied. >> >> This tree is partially included in linux-next. To see which patches are >> included in linux-next, consult the `series' file. Only the patches >> within the #NEXT_PATCHES_START/#NEXT_PATCHES_END markers are included in >> linux-next. >> >> >> A full copy of the full kernel tree with the linux-next and mmotm patches >> already applied is available through git within an hour of the mmotm >> release. Individual mmotm releases are tagged. The master branch always >> points to the latest release, so it's constantly rebasing. >> >> https://github.com/hnaz/linux-mm >> >> The directory http://www.ozlabs.org/~akpm/mmots/ (mm-of-the-second) >> contains daily snapshots of the -mm tree. It is updated more frequently >> than mmotm, and is untested. >> >> A git copy of this tree is also available at >> >> https://github.com/hnaz/linux-mm > > > on x86_64: > > ld: sound/soc/codecs/wcd9335.o: in function `wcd9335_trigger': > wcd9335.c:(.text+0x451): undefined reference to `slim_stream_prepare' > ld: wcd9335.c:(.text+0x465): undefined reference to `slim_stream_enable' > ld: wcd9335.c:(.text+0x48f): undefined reference to `slim_stream_unprepare' > ld: wcd9335.c:(.text+0x4a3): undefined reference to `slim_stream_disable' > ld: sound/soc/codecs/wcd9335.o: in function `wcd9335_slim_status': > wcd9335.c:(.text+0x23df): undefined reference to `of_slim_get_device' > ld: wcd9335.c:(.text+0x2414): undefined reference to `slim_get_logical_addr' > ld: wcd9335.c:(.text+0x2427): undefined reference to `__regmap_init_slimbus' > ld: wcd9335.c:(.text+0x245f): undefined reference to `__regmap_init_slimbus' > ld: sound/soc/codecs/wcd9335.o: in function `wcd9335_hw_params': > wcd9335.c:(.text+0x3e05): undefined reference to `slim_stream_allocate' > ld: sound/soc/codecs/wcd9335.o: in function `wcd9335_slim_driver_init': > wcd9335.c:(.init.text+0x15): undefined reference to `__slim_driver_register' > ld: sound/soc/codecs/wcd9335.o: in function `wcd9335_slim_driver_exit': > wcd9335.c:(.exit.text+0x11): undefined reference to `slim_driver_unregister' > > > Full randconfig file is attached. >