Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp3883382rwr; Sat, 22 Apr 2023 14:27:31 -0700 (PDT) X-Google-Smtp-Source: AKy350YCa7bNPf0oiW0ccmIKl9/DBm6tgZKMGtsDXkhN12yOR3X89iJ0VhoIx/EQW5A7dmWx6n96 X-Received: by 2002:a05:6a21:3382:b0:e4:9a37:2707 with SMTP id yy2-20020a056a21338200b000e49a372707mr12708293pzb.5.1682198851220; Sat, 22 Apr 2023 14:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682198851; cv=none; d=google.com; s=arc-20160816; b=w01ixiFeOqRJeyQwE6Xh2WVfBeTloaYikjEX3TKSOHMG23tNyKwkVFVk3C42/e87/D sPlsW9Ik3m4HTI63YERav3Xdxib31d12DE3t6CU3pcC2eedncY2Z6QCBYTJZtlhCtOVn ahforTqsIrgTZmtgmzzaPKcbO09bGfc3PDH1yk6UskRd6pF5hKClkkUXSlpQOfJ+UHfT bwA70wkwYxs5pFlbTLZV4rCPoSxpf7pqVzDqZqmaUpfFqmjz8/N3yW1Ja1jY/gdCsVTU M1XmBU2bWaLW0yOc5yfmpVG+ifkw6cws0iKIbdQVaUJPQgmYzb9rskQ6AW9t9FzhVnYL O2HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1cGm1z9abw9aQb16RsR4ZhsCpXEGAOIaL/20KwlX1Bk=; b=zW9UkrDB4JDD32CAhdhNP9raN8N/rO/zVanganrnURHZO8PUiQun/VuQPLhYqn0Ezu KE016OmgXNtoki+UsaZWpqFPmjfAwEotRSiUi9OePxVWhcbcQ2Qb5hvUZ7YN4/56/Nn3 KEhuQXhr4ejry9w9fZJuZupNAY8t1uT5KVDxZJI7EZrSvapE6glI43TY/JispEVlA+eH IH/10Ph8wMOh5qR3vYZsfwMptTifrLdITNW90wyCTCMEllnTUzgzXSWeOU4TbityM2AG mTr4XCCMnzB3f9wq3IynJAbBQGBsRwTu6by/WVhj4/gQxRdgtwNXo52QQYUzO3m6FYkT qBug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hBaMxrxE; 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 o38-20020a634e66000000b0051b65f4d94asi7211885pgl.484.2023.04.22.14.27.18; Sat, 22 Apr 2023 14:27: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=@intel.com header.s=Intel header.b=hBaMxrxE; 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 S229725AbjDVVSC (ORCPT + 99 others); Sat, 22 Apr 2023 17:18:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjDVVSA (ORCPT ); Sat, 22 Apr 2023 17:18:00 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B0511D; Sat, 22 Apr 2023 14:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682198279; x=1713734279; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=eTYnPvF9fN3o1kgqHDQFSMFOfgmWEAjhvZwZlajfpiI=; b=hBaMxrxEhPzWMSoxgMCJEFCKboomI6JZoYla4QmgbDZTjITud7Mair3c 3wMRaPHdHYDaAMA1f/jvlBcgItWRU3J497aKWktTxXGsmK8XSKYYiGRxn zqJF/YdY2BBHp5M5kGKIw99muiaowgIwHVEG8yPHt9cvLhf4VDF51JNN1 ui9QpPuihECZdRB5RnDDnvNAA+OCIByl7BwKGttvqNrcorSKdrCWCItD4 y+/4g+Q3AjmoZR8lxJ+DZUQQTmFTDB5veFY13pVwxDKGM0jhd51Owtu09 scszn0oDbjQxGo9Nu2JvG3M3HpKdk1Gjkp+5mKHtLiLg4482oDEBTS0pw w==; X-IronPort-AV: E=McAfee;i="6600,9927,10688"; a="346219345" X-IronPort-AV: E=Sophos;i="5.99,219,1677571200"; d="scan'208";a="346219345" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2023 14:17:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10688"; a="836504025" X-IronPort-AV: E=Sophos;i="5.99,219,1677571200"; d="scan'208";a="836504025" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 22 Apr 2023 14:17:53 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pqKcC-000hVU-2Q; Sat, 22 Apr 2023 21:17:52 +0000 Date: Sun, 23 Apr 2023 05:17:07 +0800 From: kernel test robot To: Nikita Zhandarovich , David Airlie Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-fbdev@vger.kernel.org, lvc-project@linuxtesting.org, dri-devel@lists.freedesktop.org, Matthias Brugger , Helge Deller , amd-gfx@lists.freedesktop.org, Nikita Zhandarovich , Philipp Zabel , Chun-Kuang Hu , Thomas Zimmermann , intel-gfx@lists.freedesktop.org, Maxime Ripard , linux-mediatek@lists.infradead.org, Rodrigo Vivi , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno , linux-kernel@vger.kernel.org, Daniel Vetter Subject: Re: [Intel-gfx] [PATCH] video/hdmi: minor fixes for *_infoframe_init functions Message-ID: <202304230527.lMhdvedk-lkp@intel.com> References: <20230412152910.9486-1-n.zhandarovich@fintech.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230412152910.9486-1-n.zhandarovich@fintech.ru> X-Spam-Status: No, score=-4.4 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Nikita, kernel test robot noticed the following build errors: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Nikita-Zhandarovich/video-hdmi-minor-fixes-for-_infoframe_init-functions/20230421-221128 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230412152910.9486-1-n.zhandarovich%40fintech.ru patch subject: [Intel-gfx] [PATCH] video/hdmi: minor fixes for *_infoframe_init functions config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20230423/202304230527.lMhdvedk-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/63c44f02ae13a5f50eadc26f5b45d4ade624f20c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Nikita-Zhandarovich/video-hdmi-minor-fixes-for-_infoframe_init-functions/20230421-221128 git checkout 63c44f02ae13a5f50eadc26f5b45d4ade624f20c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/xen/ drivers/gpu/drm/i915/ drivers/power/supply/ drivers/vdpa/mlx5/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304230527.lMhdvedk-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_hdmi.c:769:37: error: variable 'ret' is uninitialized when used here [-Werror,-Wuninitialized] if (drm_WARN_ON(encoder->base.dev, ret)) ^~~ include/drm/drm_print.h:630:19: note: expanded from macro 'drm_WARN_ON' drm_WARN((drm), (x), "%s", \ ^ include/drm/drm_print.h:620:7: note: expanded from macro 'drm_WARN' WARN(condition, "%s %s: " format, \ ^~~~~~~~~ include/asm-generic/bug.h:131:25: note: expanded from macro 'WARN' int __ret_warn_on = !!(condition); \ ^~~~~~~~~ drivers/gpu/drm/i915/display/intel_hdmi.c:756:9: note: initialize the variable 'ret' to silence this warning int ret; ^ = 0 1 error generated. vim +/ret +769 drivers/gpu/drm/i915/display/intel_hdmi.c b055c8f3ef9f7b drivers/gpu/drm/i915/intel_hdmi.c Jesse Barnes 2011-07-08 748 fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 749 static bool fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 750 intel_hdmi_compute_spd_infoframe(struct intel_encoder *encoder, fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 751 struct intel_crtc_state *crtc_state, fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 752 struct drm_connector_state *conn_state) c0864cb39c6869 drivers/gpu/drm/i915/intel_hdmi.c Jesse Barnes 2011-08-03 753 { 7d1675dcb5a16c drivers/gpu/drm/i915/display/intel_hdmi.c Taylor, Clinton A 2022-11-29 754 struct drm_i915_private *i915 = to_i915(encoder->base.dev); fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 755 struct hdmi_spd_infoframe *frame = &crtc_state->infoframes.spd.spd; 5adaea799c1c2c drivers/gpu/drm/i915/intel_hdmi.c Damien Lespiau 2013-08-06 756 int ret; 5adaea799c1c2c drivers/gpu/drm/i915/intel_hdmi.c Damien Lespiau 2013-08-06 757 fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 758 if (!crtc_state->has_infoframe) fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 759 return true; c0864cb39c6869 drivers/gpu/drm/i915/intel_hdmi.c Jesse Barnes 2011-08-03 760 fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 761 crtc_state->infoframes.enable |= fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 762 intel_hdmi_infoframe_enable(HDMI_INFOFRAME_TYPE_SPD); c0864cb39c6869 drivers/gpu/drm/i915/intel_hdmi.c Jesse Barnes 2011-08-03 763 7d1675dcb5a16c drivers/gpu/drm/i915/display/intel_hdmi.c Taylor, Clinton A 2022-11-29 764 if (IS_DGFX(i915)) 63c44f02ae13a5 drivers/gpu/drm/i915/display/intel_hdmi.c Nikita Zhandarovich 2023-04-12 765 hdmi_spd_infoframe_init(frame, "Intel", "Discrete gfx"); 7d1675dcb5a16c drivers/gpu/drm/i915/display/intel_hdmi.c Taylor, Clinton A 2022-11-29 766 else 63c44f02ae13a5 drivers/gpu/drm/i915/display/intel_hdmi.c Nikita Zhandarovich 2023-04-12 767 hdmi_spd_infoframe_init(frame, "Intel", "Integrated gfx"); 7d1675dcb5a16c drivers/gpu/drm/i915/display/intel_hdmi.c Taylor, Clinton A 2022-11-29 768 3a47ae201e0749 drivers/gpu/drm/i915/display/intel_hdmi.c Pankaj Bharadiya 2020-01-15 @769 if (drm_WARN_ON(encoder->base.dev, ret)) fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 770 return false; fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 771 fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 772 frame->sdi = HDMI_SPD_SDI_PC; fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 773 fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 774 ret = hdmi_spd_infoframe_check(frame); 3a47ae201e0749 drivers/gpu/drm/i915/display/intel_hdmi.c Pankaj Bharadiya 2020-01-15 775 if (drm_WARN_ON(encoder->base.dev, ret)) fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 776 return false; fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 777 fbf08556ed4344 drivers/gpu/drm/i915/intel_hdmi.c Ville Syrj?l? 2019-02-25 778 return true; c0864cb39c6869 drivers/gpu/drm/i915/intel_hdmi.c Jesse Barnes 2011-08-03 779 } c0864cb39c6869 drivers/gpu/drm/i915/intel_hdmi.c Jesse Barnes 2011-08-03 780 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests