From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: Re: [PATCH RFC v2 11/37] drm/connector: hdmi: Add Infoframes generation
Date: Sat, 23 Sep 2023 07:56:28 +0800 [thread overview]
Message-ID: <202309230741.hjj49ykL-lkp@intel.com> (raw)
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 <mripard@kernel.org>
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: 2 days ago
:::::: commit date: 2 days ago
config: i386-randconfig-141-20230921 (https://download.01.org/0day-ci/archive/20230923/202309230741.hjj49ykL-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230923/202309230741.hjj49ykL-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 <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202309230741.hjj49ykL-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
next reply other threads:[~2023-09-22 23:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-22 23:56 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-13 9:51 [PATCH RFC v2 11/37] drm/connector: hdmi: Add Infoframes generation kernel test robot
2023-09-25 0:52 kernel test robot
2023-09-23 16:37 kernel test robot
2023-09-21 14:30 kernel test robot
2023-09-20 14:35 [PATCH RFC v2 00/37] drm/connector: Create HDMI Connector infrastructure Maxime Ripard
2023-09-20 14:35 ` [PATCH RFC v2 11/37] drm/connector: hdmi: Add Infoframes generation Maxime Ripard
2023-09-20 14:35 ` Maxime Ripard
2023-09-20 14:35 ` Maxime Ripard
2023-09-20 14:35 ` Maxime Ripard
2023-09-20 17:11 ` Jernej Škrabec
2023-09-20 17:11 ` Jernej Škrabec
2023-09-20 17:11 ` Jernej Škrabec
2023-09-20 17:11 ` Jernej Škrabec
2023-09-21 0:58 ` kernel test robot
2023-09-21 3:13 ` kernel test robot
2023-10-13 9:58 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202309230741.hjj49ykL-lkp@intel.com \
--to=lkp@intel.com \
--cc=error27@gmail.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.