Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3991587rwe; Tue, 30 Aug 2022 02:36:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR4jcj4E73mvSkM9r8+4P892WCgt+gfAvF+Kb9RFFOvgsEDdSjeURiZSbjaeb8W68V/0ZgKm X-Received: by 2002:a17:906:cc5a:b0:741:5240:d91a with SMTP id mm26-20020a170906cc5a00b007415240d91amr9445973ejb.500.1661852191834; Tue, 30 Aug 2022 02:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661852191; cv=none; d=google.com; s=arc-20160816; b=H3lGLGfkP/SMoPM51l7w7dOxSxMMafDJnxnNFYY0pB9UtmTyHoXZlB8ygBAZzXk81z 23aYkBst51eeh1Qst55d3b4u+Nh9pa6fS7nV95f+SUfpT1NVu/SXLNyL73eHA0dkAQkt HGw7wunpyDN+nT6SlAlMydP2KoS6Xse8KhqMBJ5v+m8hpw3z65YgUz3oZj5dVjZd43xb BfS6RDCyrea1WI1zcxk0ZT0sphh2Pn769uOD2Fbe58DtmdKeG38QzVmPR7eo+jC7UH1U LVQrMTny+JUcnjO/uuEQkgDMcEHL1WRLORVWZ3RWhphCR1zu6NzNN0is0xZH30ac22Uw 1oxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=IQsYoJcJj+hrRt1cv36jHySIhXkSA0/HItyBCk3yloI=; b=fQihhZ0yf0SCApxmLT/BjAEQAcSIe7iN+5jFhtB692hqe8O00yAwqZmQSTevsCbRxP qPpEwPdcg4KC12koh209fi7gfPUNotfdvMAf1IWoZpeuSFPm5e5h9D/TfyBHa96rz482 8/e+xEKEM2vI3OsnzGfg0wIMxq92fD88/ER9GClJ0YnXSzRpgBEaEDQiGC5STmGcMoyT LqZ7ZjuAb3ILjMHYE0gy7+YYcOwMUs3iQNlh1F4a+QDtwmFdnSQripnGr1kpF77V0Pjy RhDPf4vH+pcm/82ERy69Cza5yph8x+uz0A8qcV2t7EWv6h3J3sSy/G0W4sxQVUhYy87j qO3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hVpKlmQS; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n23-20020a170906b31700b0073dba60b49bsi7163540ejz.303.2022.08.30.02.36.05; Tue, 30 Aug 2022 02:36:31 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hVpKlmQS; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230237AbiH3I4M (ORCPT + 99 others); Tue, 30 Aug 2022 04:56:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230309AbiH3I4K (ORCPT ); Tue, 30 Aug 2022 04:56:10 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F6767D7BB for ; Tue, 30 Aug 2022 01:56:09 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id v16so10517238wrm.8 for ; Tue, 30 Aug 2022 01:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=IQsYoJcJj+hrRt1cv36jHySIhXkSA0/HItyBCk3yloI=; b=hVpKlmQSZ1poDiEgiEMuQb1JBdOXqUi05gHmK5W4i0sbjvZXOqtB2hR9/liRY4tSp4 nHKHFaukNBtGFOaqCCPATK+yCTPjOWsXYezL9CG1oninUcN+rcJ+RSDSM9mox2x/77Bl iXGLwYKE9wzwSCY6b0EH/mZR+OP8pjJ6n3Gn6cxb4lm/Dr/HyNmDoaf+uAFZBBfjGH4m KkRzQHjnLyijGX2Idr0u2NxhMCpzo12U3Kkz+Y1roEqjRDP+iY+8RN+Rw7cWqB+cYj+V Ic3dj06WuQPG7iCsRYrNnt+MkN/GrfCibH6zkOp62dFoxckjOhtZn12VGYZY2oZNHTjA Crgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=IQsYoJcJj+hrRt1cv36jHySIhXkSA0/HItyBCk3yloI=; b=jKMyQcL1oWncsOl4BhruL0hlyyNt3rJJ83IzMcJmAPj/lCg9rJPWOaLPVzJe8B71QN qwTyMmukWqe89E4C0Y3HAP/VNehBPrV2BWxXJ9DenYXkXjCCto+OrNzfcKXEQJfofQdo txSuvZL00J0SeH3jUvlZ5tTOEtD4S7eR7f6pUMJ3q5IVtM1z0E9ghy4+MpQ9bYIK94Ry ZnvIPxLVjAbnkS1BNDBSyB1HnNWwXRNjrxpOZZXmcWX5yxl2z4bf6hKTOH2/4wySxjDB /G+WNATcz6pXNuJ5SMyDr8PHK1Btba3f4ZdFPpGUruy9MqFD5y6G6WfS7N2JBb5ho49P 68Jw== X-Gm-Message-State: ACgBeo0elff+iAvFU6I7xLXkJdyr0hIsuKj5IGxkmnVwLX7i0wT/+b1M Teojah+DUsM0TcGmUQYCCiQDYjz8p+U= X-Received: by 2002:a05:6000:156b:b0:222:c789:cb2d with SMTP id 11-20020a056000156b00b00222c789cb2dmr8426597wrz.197.1661849767619; Tue, 30 Aug 2022 01:56:07 -0700 (PDT) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id i13-20020a05600c354d00b003a5f4fccd4asm11950542wmq.35.2022.08.30.01.56.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Aug 2022 01:56:06 -0700 (PDT) Message-ID: <80280240-8769-ea25-6348-b5f60d34ef5f@gmail.com> Date: Tue, 30 Aug 2022 10:56:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH] soc: mediatek: mtk-svs: Explicitly include bitfield header Content-Language: en-US To: AngeloGioacchino Del Regno , =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: kernel@collabora.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20220829204439.3748648-1-nfraprado@collabora.com> <5a8a2b0d-fa7c-e8c6-bb04-152f8c17aa76@gmail.com> From: Matthias Brugger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 30/08/2022 10:06, AngeloGioacchino Del Regno wrote: > Il 30/08/22 09:37, Matthias Brugger ha scritto: >> >> >> On 29/08/2022 22:44, Nícolas F. R. A. Prado wrote: >>> Commit a92438c5a30a ("soc: mediatek: mtk-svs: Use bitfield access macros >>> where possible") introduced the use of FIELD_GET and FIELD_PREP macros, >>> which are defined in the bitfield header. Add an explicit include for it >>> so we're sure to have the symbols defined independently of the config. >>> >>> Fixes: a92438c5a30a ("soc: mediatek: mtk-svs: Use bitfield access macros >>> where possible") >>> Reported-by: kernel test robot >>> Signed-off-by: Nícolas F. R. A. Prado >>> >>> --- >>> >>>   drivers/soc/mediatek/mtk-svs.c | 1 + >>>   1 file changed, 1 insertion(+) >>> >>> diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c >>> index 64dba9f830f3..f67f3e971653 100644 >>> --- a/drivers/soc/mediatek/mtk-svs.c >>> +++ b/drivers/soc/mediatek/mtk-svs.c >>> @@ -3,6 +3,7 @@ >>>    * Copyright (C) 2022 MediaTek Inc. >>>    */ >>> +#include >>>   #include >> >> What do we need the bits.h for? >> > > bits.h has the definition for GENMASK(h, l), used in this file :-) > Right, seems that some other include includes bits.h as well, as compilation does not break. But we probably don't want to rely on that for the future. Applied thanks. > Cheers, > Angelo > >> Regards, >> Matthias >> >>>   #include >>>   #include > >