mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Harry Wentland <harry.wentland@amd.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Alex Deucher <alexander.deucher@amd.com>,
	Fangzhi Zuo <Jerry.Zuo@amd.com>
Subject: drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c:694:3-4: Unneeded semicolon
Date: Sat, 19 Sep 2026 01:37:18 +0200	[thread overview]
Message-ID: <202609190106.nposS6Wk-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   17e7b8eacf4cac800a4fc89a28729df72a2dabda
commit: cbb8e2044b9e936dfa66f1d4a2f835316c741a67 drm/amd/display: Add DC link support for FRL
date:   4 months ago
config: x86_64-randconfig-103-20260911 (https://download.01.org/0day-ci/archive/20260919/202609190106.nposS6Wk-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.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
| Fixes: cbb8e2044b9e ("drm/amd/display: Add DC link support for FRL")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609190106.nposS6Wk-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c:694:3-4: Unneeded semicolon

vim +694 drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c

   669	
   670	enum link_result hdmi_frl_perform_link_training_with_retries(
   671		struct dc_link *link)
   672	{
   673		enum link_result status = LINK_RESULT_UNKNOWN;
   674		unsigned int retry_count = 0;
   675		unsigned int max_retries = 3;
   676	
   677		DC_LOGGER_INIT(link->ctx->logger);
   678	
   679		if (link->preferred_hdmi_frl_settings.valid)
   680			max_retries = link->preferred_hdmi_frl_settings.max_retries;
   681	
   682		/* FRL Link Training */
   683		while (status != LINK_RESULT_FALLBACK) {
   684			if (status == LINK_RESULT_SUCCESS) {
   685				break;
   686			} else if (status == LINK_RESULT_LOWER_LINKRATE) {
   687				FRL_INFO("FRL LINK TRAINING:  Sink requested lower link rate during link enable. \n");
   688				break;
   689			} else {
   690				if (retry_count > 0)
   691					msleep(200);
   692				status = hdmi_frl_perform_link_training(link->ddc,
   693						&link->frl_link_settings);
 > 694			};
   695			retry_count++;
   696			FRL_INFO("FRL LINK TRAINING: Retry count = %u out of %u\n", retry_count, max_retries);
   697			if (retry_count > max_retries) {
   698				status = LINK_RESULT_FALLBACK;
   699				break;
   700			}
   701		}
   702	
   703		return status;
   704	}
   705	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-09-18 23:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202609190106.nposS6Wk-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Jerry.Zuo@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=harry.wentland@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®