Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2575400lqz; Wed, 3 Apr 2024 02:07:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzaJ3wIZAdbwAWlav1gDE5uozhTljZeVrRZoFfFAIIlnLaqP93huxzQEPrxL7ErUXn7xaGBaHDvj2AlMaPnbfnaOgF+VL1LvESpzFDJg== X-Google-Smtp-Source: AGHT+IGkJP9auvgiFXHSEA4jwSf8943I/pFc+wZsilOjpttx3JfZeeGpMzaYTEojFxPK7YV9oo8t X-Received: by 2002:a05:6a20:2584:b0:1a7:23d1:d605 with SMTP id k4-20020a056a20258400b001a723d1d605mr4532989pzd.48.1712135253875; Wed, 03 Apr 2024 02:07:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712135253; cv=pass; d=google.com; s=arc-20160816; b=xyAA/NqUPX9FvqqnghS3RAyA6w8LUWngVXYUBmLfhsYFtIMmHkv20/PlpGnNWWfA58 G7Pdr5R8TLLwmSqV2n5jbYAbuEx3E+6tSFmeNU63I/d5XX7MM/ybf0sP7hoFG+vNjS+7 WcVnbCN+Ogtq3iTv4U4jtMz8N+qQSkJECON7VULwNhSg9L4V3VGMIuh41fRI9/kZmQ4j PaG0pWb4kEBdo8jaTbFQUJSTj4aYaYe+SFo7PUkUtep5o1RD6PGqwaiUd10MhJaTe7dV 2IG6uDP4AMxiwT/Qem6kOlWv3XCHz/F0bTxPxaFOH38HgiNT19zdz84DPKbd2BjndHu2 QgjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=uj+vStzBE1g5HSFxOT3J1gWV2WIEySZ+b3hpcha4y3E=; fh=ciTiPvstmsS+Lu9wCxdwnodzQFBceSso1eQIz2tub18=; b=kbr3InjkPylFgKcGQMzFACVzJxu+UEr9kgzJ97Y04+C9OKi0LHcNpBVbMRrvkAvAhc mpRXfwm/514mDiuXHitt2fDkLfctbQ4SPgeWLSgky98W/nGKejsgfrlcIt8tK/xMgYhH ED5ND9DfFisCreHu3bxvO0f8cK6sV2RVBz/x69hKM7L7hJ3Lm6djxyUuFPNqk2+DtuDk ztKwJKRFyAAK2DZmyf+kNJ9m0ilMrGNc1p1VBSCi65tMNzuX3F5+CKFYNPEdldvLrZSS c76FetfWiUk3ugzjtoyZX5umxHhLdkOfvYIKP7jcsuOdTqn9Nzaa0HHW+c3M0IFlo1We 8TYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="efl/3Yjh"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129392-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129392-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q19-20020a62e113000000b006eabc918898si12553684pfh.136.2024.04.03.02.07.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 02:07:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129392-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="efl/3Yjh"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129392-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129392-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A6B9728B6AD for ; Wed, 3 Apr 2024 09:07:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1718B70CDF; Wed, 3 Apr 2024 09:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="efl/3Yjh" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72A476E2BE for ; Wed, 3 Apr 2024 09:06:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712135196; cv=none; b=nlCjpOi30QtckpYlsTE/MHelZA1RB+zipmFvM68c1bfHzShVYpWrYfQdvlEi3EP28PhywYwwWKZt+Vv/JVGFaWUnaEcBssHmk8hoPluHFPYdJN8WqXjuC2SnEfBpuYw1YMmezxUFJ1pYGtx0yG6pVjCV1kUGbW1r1BtPyjxO2y4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712135196; c=relaxed/simple; bh=pkZwS+e5I+h69eXwpb5Uy35vKeyJ9txD4lCmRKkROoU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ra40oeNi+R13SISp83wfYvsEKOXJXra3ax62dSNBrbFxEgD0D7o7VA5cAWHaTkSL+AHe1yob/CxCvQGlpbW9r8SNdqCeZn3VhMj2823rCHpQktkkPqIbdDLXwT/ZKQp/DcKbVm0+E9Kj1khxciASM0ffPD9Jo5Vf1iPRt/9FR/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=efl/3Yjh; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a4e5ee91879so429869266b.3 for ; Wed, 03 Apr 2024 02:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712135192; x=1712739992; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=uj+vStzBE1g5HSFxOT3J1gWV2WIEySZ+b3hpcha4y3E=; b=efl/3YjhoEo6XPoVKtXo0e4jgGx2zInLoyizWmL0WKJ08cuscrTsZbtlfe+9YPLuIb jvrU0f6l/lhMFOFAZHeGUUgbzRXqqqSyQO8lCpFWDWuml+pYEheLFuZ90rUhBeYd8eQB rJl+p66z6laX/qXwPunKu1+0Bv/37T3r9BZZse1OvMbSrHk+FdjPIDZNp47ioCord/IV cULnCjfeqz94yMZMWUIlx/UXTTt5rG51V2rbZikp7tI8mwEEJWGlHZyIoccYqCg6Qisn tspKAU3WuKu80bXYHHW4z1EqwuCO9QIMI0U3eIrONKSLhLITTGP6nDORL587+khg1ik6 9Mdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712135192; x=1712739992; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uj+vStzBE1g5HSFxOT3J1gWV2WIEySZ+b3hpcha4y3E=; b=Z0WPVUUK8vQsGCz2hPopyfkwrjtl/uWrnBAbMPbNaot8WjQFpvuFu+IN9LWx0RQXgW DAOKKxoSPoANr+s025r9j+WE7jAtkl2DIlgURS+AIqX37W9gyy72/HOd4gUL83hhH5Zc ZyLbppmDLYLbucy0PDzFLsfKPT9Jgw7hrI0vl6C80KPkU1tJ8QTX6OvgvHEXSo4vPefK I79cxUfBTua122h4rfUFKd7ToKb4XoeJ723e0AirchgG2ieSVf4K31DWZEGr690XfoR7 kTE9U9aU6B7OYBEKGk5+0sjZT+XQsgR8EEjlEMFym85oXYFaXkvfAWCHv72siHV6+M5V od2Q== X-Forwarded-Encrypted: i=1; AJvYcCWpHYVgYzeJ/Mq0otVRtrK8o0X8O5K0XUmeq308cEf4gj/6r/CuwyARAF3SDwXVZGGUrwenR7EtmU+qaqw3RWxLnm9DNu/6rct/0jdE X-Gm-Message-State: AOJu0YzAZPeEnTRxXOPU0bCOGTX+jj9mb6GZjDZ0dIiX1CRVvTL3NIwO A7OEvvVJfKNEWQFWqFGrCpsV8o+zcDzAm+lXs1hGXExwmw6OPoIo+qF8dDKxNN4= X-Received: by 2002:a17:906:39c2:b0:a4e:7f22:cfc2 with SMTP id i2-20020a17090639c200b00a4e7f22cfc2mr1464281eje.28.1712135191799; Wed, 03 Apr 2024 02:06:31 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id pw14-20020a17090720ae00b00a4e35cc42c7sm6377026ejb.170.2024.04.03.02.06.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Apr 2024 02:06:31 -0700 (PDT) Message-ID: <2c9af070-ab35-41c7-9d81-a1f20509a20e@linaro.org> Date: Wed, 3 Apr 2024 11:06:28 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 32/34] ASoC: remove incorrect of_match_ptr/ACPI_PTR annotations To: Arnd Bergmann , linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Claudiu Beznea , Nicolas Ferre , Alexandre Belloni , Oder Chiou , Srinivas Kandagatla , Banajit Goswami , Sylwester Nawrocki Cc: Arnd Bergmann , Alper Nebi Yasak , Kuninori Morimoto , Akihiko Odaki , Linus Walleij , Yinchuan Guo , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , AngeloGioacchino Del Regno , linux-sound@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org References: <20240403080702.3509288-1-arnd@kernel.org> <20240403080702.3509288-33-arnd@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUG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KiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240403080702.3509288-33-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 03/04/2024 10:06, Arnd Bergmann wrote: > From: Arnd Bergmann > > When building with CONFIG_OF and/or CONFIG_ACPI disabled but W=1 extra > warnings enabled, a lot of driver cause a warning about an unused > ID table: > > sound/soc/atmel/sam9x5_wm8731.c:187:34: error: unused variable 'sam9x5_wm8731_of_match' [-Werror,-Wunused-const-variable] > sound/soc/codecs/rt5514-spi.c:496:34: error: unused variable 'rt5514_of_match' [-Werror,-Wunused-const-variable] > sound/soc/samsung/aries_wm8994.c:524:34: error: unused variable 'samsung_wm8994_of_match' [-Werror,-Wunused-const-variable] > > The fix is always to just remove the of_match_ptr() and ACPI_PTR() wrappers > that remove the reference, rather than adding another #ifdef just for build > testing for a configuration that doesn't matter in practice. > > Signed-off-by: Arnd Bergmann > --- > sound/soc/amd/acp3x-rt5682-max9836.c | 2 +- > sound/soc/atmel/sam9x5_wm8731.c | 2 +- > sound/soc/codecs/rt5514-spi.c | 2 +- > sound/soc/qcom/lpass-sc7280.c | 2 +- > sound/soc/samsung/aries_wm8994.c | 2 +- I sent it already as well: https://lore.kernel.org/all/20230310214333.274903-5-krzysztof.kozlowski@linaro.org/ and Mark did not pick it up, I guess for the same reason as SPI. Best regards, Krzysztof