Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp968869pxy; Wed, 5 May 2021 19:39:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCWOmtsOje25fzVZOjPn3fs+ggqu5yykCIeCALTXOxLg7mqPqiRu6xkK3sACTVoZtJtg0w X-Received: by 2002:a17:906:a44d:: with SMTP id cb13mr1826791ejb.107.1620268759394; Wed, 05 May 2021 19:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620268759; cv=none; d=google.com; s=arc-20160816; b=ZCXupXFPrXfTS8rh5hSGITayedhhp8FjY9XP4a/uw26LZdUQJfjlLNc84FrbfSAIHw JGhLwShzgvTn95EIxqBLqX8ZShynB51xQ+5yAF4L45bTst3hbuj0basv4JC1OhUiWnAv 65JY4X51H11E2UpiCb+Fw/HCWAY3KA2k0zYRETl6YV4zFWsHhZU7glcJqF7xHPjNx/NT tZzG81+r2xUHtWj5vmWb2u/SqaN8jabI/DVVCu5taXYk6oeBtnmzKWRSuZDo6Opyad14 BrYnm0eN2Qwg/J9h+0MmjgqFFf5uyl7G17E60foyjgt+gaROFa8D0D/K5DweDNPXgj4W Ud8Q== 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:subject:from :references:cc:to:sender:dkim-signature; bh=qCaXhu5ADXpDYhRWpbWGou+MLQ2EsYw3ebfI+tHGv6k=; b=yBwwK1xScvGZdY0r6++wg1gbTtS7mFlXHU5iDoZ7PhJk2u5AvKUVDrRTq72u/qePDM AZxHo8QerjInMVII7WJE1JAJ5gbC8ztn1JyxQnffkn6P+Oc2xXAwE2e0sckKykGmYjeX ZzUaeTyM4bS8rgPZx6XPaM6JJ0DxFlB2k2/vhIMEjmGMh70f3KXqt83f4lD5Oba3Ufms 7xKkbk8CoFEfsb3hSaT0T6L+ZMiZg7wBgeceA4Fhcf55ltE6X4NQWbspBrheKrpiKkcm rCzBrRofvlCCl48uTyRyrk0JN77xNUupKYgY5JQ5Z3tHWM1i+ylBqTUP7zDAVnaO9jgJ cbNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u3yo6lWR; 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 x11si995787ejv.267.2021.05.05.19.38.55; Wed, 05 May 2021 19:39: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u3yo6lWR; 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 S232165AbhEFCgS (ORCPT + 99 others); Wed, 5 May 2021 22:36:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231370AbhEFCgS (ORCPT ); Wed, 5 May 2021 22:36:18 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00A11C061574; Wed, 5 May 2021 19:35:19 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id e25so4191001oii.2; Wed, 05 May 2021 19:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:to:cc:references:from:subject:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qCaXhu5ADXpDYhRWpbWGou+MLQ2EsYw3ebfI+tHGv6k=; b=u3yo6lWRue35V0yoA4W8HDStiPbWY2jdAsrraBUmCr7u16cH9Rv974PLMgL8dH3Koz VH735L3sQ5te6rkZdJs6sIexu0HyMlhNj19MnW1QNHkMDcrBlBT806AGcSHWl8YdFNh2 laBEDRHyU2d0/OlypNQ1tozarijD8B07PDOX7xveNNToJCodBUGXn/y36y7VWanEzKWb vjID8REisU1yFWW3UsiUBRVCTVSsW26SKOnQvsnF9IB2rfVQBR/bNgBb7Xkf5yJOSrvy 3BfVbrrz6TKlIYa3Wkd1a7BKl8tCkPWoR2SNUK0o5foMdNdpnJACRYFnP+H1XLvQ+xTd Tv8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:cc:references:from:subject:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qCaXhu5ADXpDYhRWpbWGou+MLQ2EsYw3ebfI+tHGv6k=; b=tMmRul+5eJJK+FUhGL9Lz39SmWikOrBOGeMW65FfvJv/PZERGKWepTLRCvTXL4DfPz 6I1jY2zS0pP2wQgbPyS52d9bUQlmBiv0BPkroF2c9+UoM5iO2/mCwTRlm87fxmSCYOu2 aUISRhH21A+EP4uNqLgdG6IwLE7LJg7ScgFZvWuxtewslXyw4I67GZHo73Bi0CWt7S3y +xdLuO24sctdMZn/owuzxgheKdmJ/M5oyEQochP3kCG+xvyPO864aeIjdGr80ZmTgD4h 1htp+aTbv8LrpxkdtTbedDOcOXqBuv1CiA4JbBN68Rky7uoN09nv2VGXHNhjcccRyDAe VY0w== X-Gm-Message-State: AOAM531LzFA+Y7gpz7A+sn8IltS/G+v4VOqNK+WW2k1pfAdbv+8nInN4 LbvAJJg4j2F4dkczp3HFdKRuhOOUHNo= X-Received: by 2002:aca:2319:: with SMTP id e25mr3382739oie.38.1620268518072; Wed, 05 May 2021 19:35:18 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id s24sm269404ooh.28.2021.05.05.19.35.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 May 2021 19:35:17 -0700 (PDT) Sender: Guenter Roeck To: =?UTF-8?Q?Daniel_D=c3=adaz?= Cc: Greg Kroah-Hartman , open list , Linus Torvalds , Andrew Morton , Shuah Khan , patches@kernelci.org, lkft-triage@lists.linaro.org, Pavel Machek , jonathanh@nvidia.com, f.fainelli@gmail.com, linux- stable References: <20210505112324.729798712@linuxfoundation.org> <20210505214938.GA817073@roeck-us.net> From: Guenter Roeck Subject: Re: [PATCH 5.4 00/21] 5.4.117-rc1 review Message-ID: <5bac42a7-71b0-e149-97c7-3cf3cd881464@roeck-us.net> Date: Wed, 5 May 2021 19:35:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/5/21 7:15 PM, Daniel Díaz wrote: > Hello! > > On Wed, 5 May 2021 at 16:49, Guenter Roeck wrote: >> >> On Wed, May 05, 2021 at 02:04:14PM +0200, Greg Kroah-Hartman wrote: >>> This is the start of the stable review cycle for the 5.4.117 release. >>> There are 21 patches in this series, all will be posted as a response >>> to this one. If anyone has any issues with these being applied, please >>> let me know. >>> >>> Responses should be made by Fri, 07 May 2021 11:23:16 +0000. >>> Anything received after that time might be too late. >>> >>> The whole patch series can be found in one patch at: >>> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.117-rc1.gz >>> or in the git tree and branch at: >>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y >>> and the diffstat can be found below. >>> >>> thanks, >>> >>> greg k-h >>> >>> ------------- >>> Pseudo-Shortlog of commits: >>> >>> Greg Kroah-Hartman >>> Linux 5.4.117-rc1 >>> >>> Ondrej Mosnacek >>> perf/core: Fix unconditional security_locked_down() call >>> >>> Miklos Szeredi >>> ovl: allow upperdir inside lowerdir >>> >>> Dan Carpenter >>> scsi: ufs: Unlock on a couple error paths >>> >>> Mark Pearson >>> platform/x86: thinkpad_acpi: Correct thermal sensor allocation >>> >>> Shengjiu Wang >>> ASoC: ak5558: Add MODULE_DEVICE_TABLE >>> >>> Shengjiu Wang >>> ASoC: ak4458: Add MODULE_DEVICE_TABLE >> >> Twice ? Why ? > > But different, right? One for 4458 and the other for 5558: > > sound/soc/codecs/ak4458.c: > +MODULE_DEVICE_TABLE(of, ak4458_of_match); > > sound/soc/codecs/ak5558.c: > +MODULE_DEVICE_TABLE(of, ak5558_i2c_dt_ids); > Yes, I realized that later. The real problem is that the commits are already in the tree, so both files end up with two sets of MODULE_DEVICE_TABLE(). $ git grep MODULE_DEVICE_TABLE sound/soc/codecs/ak4458.c sound/soc/codecs/ak4458.c:MODULE_DEVICE_TABLE(of, ak4458_of_match); sound/soc/codecs/ak4458.c:MODULE_DEVICE_TABLE(of, ak4458_of_match); $ git grep MODULE_DEVICE_TABLE sound/soc/codecs/ak5558.c sound/soc/codecs/ak5558.c:MODULE_DEVICE_TABLE(of, ak5558_i2c_dt_ids); sound/soc/codecs/ak5558.c:MODULE_DEVICE_TABLE(of, ak5558_i2c_dt_ids); That applies to all branches. > FWIW, our builds passed with that pair of commits. My test builds pass as well. I think this is because Chrome OS images build with -Werror. Guenter > > Greetings! > > Daniel Díaz > daniel.diaz@linaro.org > > > >> This gives me a compile error (the second time it is added at the wrong >> place). >> >> chromeos-kernel-5_4-5.4.117_rc1-r2159: /build/arm-generic/tmp/portage/sys-kernel/chromeos-kernel-5_4-5.4.117_rc1-r2159/work/chromeos-kernel-5_4-5.4.117_rc1/sound/soc/codecs/ak4458.c:722:1: error: redefinition of '__mod_of__ak4458_of_match_device_table' >> chromeos-kernel-5_4-5.4.117_rc1-r2159: MODULE_DEVICE_TABLE(of, ak4458_of_match); >> chromeos-kernel-5_4-5.4.117_rc1-r2159: ^ >> chromeos-kernel-5_4-5.4.117_rc1-r2159: /build/arm-generic/tmp/portage/sys-kernel/chromeos-kernel-5_4-5.4.117_rc1-r2159/work/chromeos-kernel-5_4-5.4.117_rc1/include/linux/module.h:227:21: note: expanded from macro 'MODULE_DEVICE_TABLE' >> chromeos-kernel-5_4-5.4.117_rc1-r2159: extern typeof(name) __mod_##type##__##name##_device_table \ >> chromeos-kernel-5_4-5.4.117_rc1-r2159: ^ >> chromeos-kernel-5_4-5.4.117_rc1-r2159: :119:1: note: expanded from here >> chromeos-kernel-5_4-5.4.117_rc1-r2159: __mod_of__ak4458_of_match_device_table >> chromeos-kernel-5_4-5.4.117_rc1-r2159: ^ >> chromeos-kernel-5_4-5.4.117_rc1-r2159: /build/arm-generic/tmp/portage/sys-kernel/chromeos-kernel-5_4-5.4.117_rc1-r2159/work/chromeos-kernel-5_4-5.4.117_rc1/sound/soc/codecs/ak4458.c:711:1: note: previous definition is here >> chromeos-kernel-5_4-5.4.117_rc1- r2159: MODULE_DEVICE_TABLE(of, ak4458_of_match); >> chromeos-kernel-5_4-5.4.117_rc1-r2159: ^ >> chromeos-kernel-5_4-5.4.117_rc1-r2159: /build/arm-generic/tmp/portage/sys-kernel/chromeos-kernel-5_4-5.4.117_rc1-r2159/work/chromeos-kernel-5_4-5.4.117_rc1/include/linux/module.h:227:21: note: expanded from macro 'MODULE_DEVICE_TABLE' >> chromeos-kernel-5_4-5.4.117_rc1-r2159: extern typeof(name) __mod_##type##__##name##_device_table \ >> >> Oddly enough, I only see the error when I try to merge the >> code into ChromeOS, not in my test builds. I guess that has >> to do with "-Werror". >> >> Guenter