From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) (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 181D21D547 for ; Sat, 23 Sep 2023 16:37:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695487073; x=1727023073; h=date:from:to:cc:subject:message-id:mime-version; bh=6zKmmyUtwwTC7s6xjMUo2tFMkKuxNNEeFCigh6BPiwY=; b=d+bex2TgSv1a1srp4UQHrd2VSfJ07AuBwck8K2lfKkJgWqtN44fpZkpN qaPtunWOzTEmwboNSDn1Bk31AiIIOCN92mFeHfkNh6uCwF3JycVm4mkoK phIdaLzp/AZ5MbJqtAMyt8XyaskR9TWE9SAw/hwhft1LDneUuYXxJfKJ9 hQWeouAwqxqakLJF8f8F+PAMavtI3b3EtoWCJ2O4LrOhoyc4eKlVLz9JG EglFq4zdnWB1mCJ++EMbrGlNWKaUlsMNbP3SJgge/s+/WBGQ7omLnYhPk 26gIC9FhaZzWJphkmJTWAtsdNJoWgA8yZlGLZWixrZaND0FDib8ka0cyV w==; X-IronPort-AV: E=McAfee;i="6600,9927,10842"; a="379917846" X-IronPort-AV: E=Sophos;i="6.03,171,1694761200"; d="scan'208";a="379917846" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2023 09:37:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10842"; a="697542785" X-IronPort-AV: E=Sophos;i="6.03,171,1694761200"; d="scan'208";a="697542785" Received: from lkp-server02.sh.intel.com (HELO 493f6c7fed5d) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 23 Sep 2023 09:37:50 -0700 Received: from kbuild by 493f6c7fed5d with local (Exim 4.96) (envelope-from ) id 1qk5dc-0002dU-0F; Sat, 23 Sep 2023 16:37:48 +0000 Date: Sun, 24 Sep 2023 00:37:22 +0800 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com, Dan Carpenter Subject: Re: [PATCH RFC v2 11/37] drm/connector: hdmi: Add Infoframes generation Message-ID: <202309240025.IF3djcQe-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev In-Reply-To: <20230920-kms-hdmi-connector-state-v2-11-17932daddd7d@kernel.org> References: <20230920-kms-hdmi-connector-state-v2-11-17932daddd7d@kernel.org> TO: Maxime Ripard Hi Maxime, [This is a private test report for your RFC patch.] kernel test robot noticed the following build warnings: [auto build test WARNING on 0bb80ecc33a8fb5a682236443c1e740d5c917d1d] url: https://github.com/intel-lab-lkp/linux/commits/Maxime-Ripard/drm-connector-Introduce-an-HDMI-connector/20230920-224045 base: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d patch link: https://lore.kernel.org/r/20230920-kms-hdmi-connector-state-v2-11-17932daddd7d%40kernel.org patch subject: [PATCH RFC v2 11/37] drm/connector: hdmi: Add Infoframes generation :::::: branch date: 3 days ago :::::: commit date: 3 days ago config: i386-randconfig-141-20230921 (https://download.01.org/0day-ci/archive/20230924/202309240025.IF3djcQe-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230924/202309240025.IF3djcQe-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Reported-by: Dan Carpenter | Closes: https://lore.kernel.org/r/202309240025.IF3djcQe-lkp@intel.com/ smatch warnings: drivers/gpu/drm/drm_atomic_state_helper.c:938 hdmi_generate_vendor_infoframe() warn: ignoring unreachable code. vim +938 drivers/gpu/drm/drm_atomic_state_helper.c ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 920 ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 921 static int hdmi_generate_vendor_infoframe(const struct drm_connector *connector, ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 922 struct drm_connector_state *state) ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 923 { ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 924 const struct drm_display_mode *mode = ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 925 connector_state_get_adjusted_mode(state); ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 926 struct drm_connector_hdmi_infoframe *infoframe = ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 927 &state->hdmi.infoframes.vendor; ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 928 struct hdmi_vendor_infoframe *frame = ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 929 &infoframe->data.vendor.hdmi; ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 930 int ret; ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 931 ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 932 ret = drm_hdmi_vendor_infoframe_from_display_mode(frame, connector, mode); ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 933 if (ret == -EINVAL) ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 934 return 0; ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 935 else ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 936 return ret; ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 937 ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 @938 infoframe->set = true; ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 939 ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 940 return 0; ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 941 } ae7d8bc7dd1dbff Maxime Ripard 2023-09-20 942 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki