Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp999762rwi; Thu, 27 Oct 2022 09:56:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6KuoYNRLKkC4Vd7D3YsXeKFvMEleDLvDRXcMH50Jw8MwDR51WLj3hWPqeDw89XI3A/QHRK X-Received: by 2002:aa7:d357:0:b0:45b:dab5:9789 with SMTP id m23-20020aa7d357000000b0045bdab59789mr47699525edr.222.1666889792459; Thu, 27 Oct 2022 09:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666889792; cv=none; d=google.com; s=arc-20160816; b=HLrtspPph5Tmh67SjMHpZFelEz2g9pWaE21TcLJTfh8VQVQ5hnAW37T4dRiUu8R3dK 3q6VM39VwUnmRDN3MhIz4Le7QJBzHlQFbBVWWgdaVlFlWMrKNdD5UI9EmZu6c+UXCXjP 40/VCRQMTI8V4aEdjmH6NEkcPbg7ddrh1zqN2racYhEOCfEl85bEZLvEK+7l+XVyQf6Q HtatjB9XkFydnAb3SC4XAiRirQiTMH8huhvc4BzJXmcCYW8i/xPSk1nTtCh20Zeco6Wr xlef+hcZcyKDqmbLHC/ZbdSreOx+OU2gtS/4rq8iuQCam8+4qL48rfpr4XY66Yj9dqjV pRmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=6T7x4jJwqmK5MZM7cgbwCuG33VbCeGteESpIjt+iO+k=; b=WlZ/CPGHAh7nRPb1B303PLn2JPoei2N9KZmbdOA47OYsTpwEtJL14v88f3cwgLzNwa zuLuF/F4RLnWDubOMK1VhwmiIfGVYhwvnEb6LNMa6tqqIvbB2KnsC6xlf7P1JsaHtOhQ FZNe6/+uPcuxZbdOmDQXVgxTZHsWIGcHuDWAEqUfxYfLEMRm861cSHP4OpvsWvHZRmE1 sNVdWYspd8RZYcNrjkAFknvp0UUxGoNghTzgbnn0/KaFVHPa4FCKqH6fxUpq9hf3KBFq IGnLm4pbpN7zru1A81MD7FQzRKURjh835Le0w4I17G+MAjCdC3smOGLap0pkasI3n8Y/ 7QFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OZMhwExL; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv17-20020a17090760d100b0073d8e26e78bsi1803604ejc.960.2022.10.27.09.56.06; Thu, 27 Oct 2022 09:56: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; dkim=pass header.i=@intel.com header.s=Intel header.b=OZMhwExL; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234988AbiJ0Qxa (ORCPT + 99 others); Thu, 27 Oct 2022 12:53:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235579AbiJ0QxR (ORCPT ); Thu, 27 Oct 2022 12:53:17 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D84290831 for ; Thu, 27 Oct 2022 09:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666889596; x=1698425596; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=6T7x4jJwqmK5MZM7cgbwCuG33VbCeGteESpIjt+iO+k=; b=OZMhwExL8a4Y4dAY2AkdxY2n5qrwp1As2hk8VRu9SRMte104Xxr4dPBa 4/OFzDTZhkwWJTBK4PEUNEsiEzgQY0PW3XRyKHZg0jitvG6p9WxIHtQf1 +2X0mlF5kI1kEf1MiwUFWDLIf4NHU8oYm2J+qjZnDhv7eWD70Q22OsuZQ oe1ty8wEDr6bv1bzm4JewY3M78TLDjJE9whuzZAFIaNoHniitCtJK2TKt ZCbHDhaVTy7fYBFYFHCEw5FK8I5Th9hjybw+4d6Yq6HZ8cYw0jmsfhaX7 DuGJkH03BQvqP5mukPToTFLGKWTNmt1z4PK4J6vpzX3jjxHu7XV1zGKU6 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10513"; a="394593605" X-IronPort-AV: E=Sophos;i="5.95,218,1661842800"; d="scan'208";a="394593605" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2022 09:53:16 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10513"; a="807519683" X-IronPort-AV: E=Sophos;i="5.95,218,1661842800"; d="scan'208";a="807519683" Received: from adixit-mobl.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.209.68.192]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2022 09:53:15 -0700 Date: Thu, 27 Oct 2022 09:53:15 -0700 Message-ID: <877d0lxl6s.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Nick Desaulniers Cc: Gwan-gyeong Mun , anshuman.gupta@intel.com, intel-gfx@lists.freedesktop.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Andi Shyti Subject: Re: [PATCH] drm/i915/hwmon: Fix a build error used with clang compiler In-Reply-To: References: <20221024210953.1572998-1-gwan-gyeong.mun@intel.com> <87mt9kppb6.wl-ashutosh.dixit@intel.com> <87ilk7pwrw.wl-ashutosh.dixit@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On Thu, 27 Oct 2022 09:35:24 -0700, Nick Desaulniers wrote: > Hi Nick, > On Tue, Oct 25, 2022 at 5:18 PM Andi Shyti wrote: > > > > Hi Ashutosh, > > > > > But I'd wait to hear from clang/llvm folks first. > > > > Yeah! Looking forward to getting some ideas :) > > Gwan-gyeong, which tree and set of configs are necessary to reproduce > the observed warning? > > Warnings are treated as errors, so I don't want this breaking our CI. The following or equivalent should do it: git clone https://anongit.freedesktop.org/git/drm/drm-tip git checkout drm-tip Kernel config: CONFIG_DRM_I915=m CONFIG_HWMON=y Files: drivers/gpu/drm/i915/i915_hwmon.c/.h Thanks for taking a look. -- Ashutosh