From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: [linux-next:master 6570/8400] drivers/gpu/drm/tegra/output.c:42 tegra_output_connector_get_modes() error: uninitialized symbol 'drm_edid'.
Date: Mon, 2 Sep 2024 22:09:58 +0800 [thread overview]
Message-ID: <202409022236.7pEcEksT-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Jani Nikula <jani.nikula@intel.com>
CC: Daniel Vetter <daniel.vetter@ffwll.ch>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ecc768a84f0b8e631986f9ade3118fa37852fef0
commit: 98365ca74cbfae16b793b62a7ecabb5be8d77785 [6570/8400] drm/tegra: convert to struct drm_edid
:::::: branch date: 7 hours ago
:::::: commit date: 4 days ago
config: nios2-randconfig-r072-20240902 (https://download.01.org/0day-ci/archive/20240902/202409022236.7pEcEksT-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 14.1.0
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/202409022236.7pEcEksT-lkp@intel.com/
smatch warnings:
drivers/gpu/drm/tegra/output.c:42 tegra_output_connector_get_modes() error: uninitialized symbol 'drm_edid'.
vim +/drm_edid +42 drivers/gpu/drm/tegra/output.c
fb83be8873909b Hans Verkuil 2017-09-11 20
132085d84fca65 Thierry Reding 2014-11-28 21 int tegra_output_connector_get_modes(struct drm_connector *connector)
d8f4a9eda00678 Thierry Reding 2012-11-15 22 {
d8f4a9eda00678 Thierry Reding 2012-11-15 23 struct tegra_output *output = connector_to_output(connector);
98365ca74cbfae Jani Nikula 2024-08-22 24 const struct drm_edid *drm_edid;
d8f4a9eda00678 Thierry Reding 2012-11-15 25 int err = 0;
d8f4a9eda00678 Thierry Reding 2012-11-15 26
acde541324dcfe Thierry Reding 2014-01-13 27 /*
acde541324dcfe Thierry Reding 2014-01-13 28 * If the panel provides one or more modes, use them exclusively and
acde541324dcfe Thierry Reding 2014-01-13 29 * ignore any other means of obtaining a mode.
acde541324dcfe Thierry Reding 2014-01-13 30 */
9be7d864cf0763 Thierry Reding 2013-08-30 31 if (output->panel) {
06c4a9c2ae606a Sam Ravnborg 2019-12-07 32 err = drm_panel_get_modes(output->panel, connector);
9be7d864cf0763 Thierry Reding 2013-08-30 33 if (err > 0)
9be7d864cf0763 Thierry Reding 2013-08-30 34 return err;
9be7d864cf0763 Thierry Reding 2013-08-30 35 }
9be7d864cf0763 Thierry Reding 2013-08-30 36
98365ca74cbfae Jani Nikula 2024-08-22 37 if (output->drm_edid)
98365ca74cbfae Jani Nikula 2024-08-22 38 drm_edid = drm_edid_dup(output->drm_edid);
d8f4a9eda00678 Thierry Reding 2012-11-15 39 else if (output->ddc)
98365ca74cbfae Jani Nikula 2024-08-22 40 drm_edid = drm_edid_read_ddc(connector, output->ddc);
d8f4a9eda00678 Thierry Reding 2012-11-15 41
98365ca74cbfae Jani Nikula 2024-08-22 @42 drm_edid_connector_update(connector, drm_edid);
98365ca74cbfae Jani Nikula 2024-08-22 43 cec_notifier_set_phys_addr(output->cec,
98365ca74cbfae Jani Nikula 2024-08-22 44 connector->display_info.source_physical_address);
d8f4a9eda00678 Thierry Reding 2012-11-15 45
98365ca74cbfae Jani Nikula 2024-08-22 46 err = drm_edid_connector_add_modes(connector);
98365ca74cbfae Jani Nikula 2024-08-22 47 drm_edid_free(drm_edid);
d8f4a9eda00678 Thierry Reding 2012-11-15 48
d8f4a9eda00678 Thierry Reding 2012-11-15 49 return err;
d8f4a9eda00678 Thierry Reding 2012-11-15 50 }
d8f4a9eda00678 Thierry Reding 2012-11-15 51
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-09-02 14:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-02 14:09 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-02 14:29 [linux-next:master 6570/8400] drivers/gpu/drm/tegra/output.c:42 tegra_output_connector_get_modes() error: uninitialized symbol 'drm_edid' kernel test robot
2024-09-02 16:15 ` Jani Nikula
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=202409022236.7pEcEksT-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.