All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c:694:3-4: Unneeded semicolon
@ 2026-09-18 23:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-18 23:37 UTC (permalink / raw)
  To: Harry Wentland; +Cc: oe-kbuild-all, linux-kernel, Alex Deucher, Fangzhi Zuo

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-18 23:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18 23:37 drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c:694:3-4: Unneeded semicolon kernel test robot

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.