From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5599346A9 for ; Thu, 27 Oct 2022 16:53:16 +0000 (UTC) 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="309974596" X-IronPort-AV: E=Sophos;i="5.95,218,1661842800"; d="scan'208";a="309974596" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2022 09:53:15 -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) Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII 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 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 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7EA7ECAAA1 for ; Thu, 27 Oct 2022 16:53:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 48ECA10E6A0; Thu, 27 Oct 2022 16:53:20 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id A2C1B10E6A0 for ; Thu, 27 Oct 2022 16:53:16 +0000 (UTC) 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="394593606" X-IronPort-AV: E=Sophos;i="5.95,218,1661842800"; d="scan'208";a="394593606" 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 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 Subject: Re: [Intel-gfx] [PATCH] drm/i915/hwmon: Fix a build error used with clang compiler X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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