lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202501032001.O6WY1VCW-lkp@intel.com>
Date: Fri, 3 Jan 2025 20:03:25 +0800
From: kernel test robot <lkp@...el.com>
To: Jinjie Ruan <ruanjinjie@...wei.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Maxime Ripard <mripard@...nel.org>
Subject: drivers/gpu/drm/tests/drm_kunit_helpers.c:324: warning: bad line:
                                            for a KUnit test

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0bc21e701a6ffacfdde7f04f87d664d82e8a13bf
commit: caa714f86699bcfb01aa2d698db12d91af7d0d81 drm/tests: helpers: Add helper for drm_display_mode_from_cea_vic()
date:   9 weeks ago
config: csky-randconfig-051-20240716 (https://download.01.org/0day-ci/archive/20250103/202501032001.O6WY1VCW-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250103/202501032001.O6WY1VCW-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501032001.O6WY1VCW-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/tests/drm_kunit_helpers.c:324: warning: bad line:                                            for a KUnit test


vim +324 drivers/gpu/drm/tests/drm_kunit_helpers.c

   321	
   322	/**
   323	 * drm_kunit_display_mode_from_cea_vic() - return a mode for CEA VIC
 > 324						   for a KUnit test
   325	 * @test: The test context object
   326	 * @dev: DRM device
   327	 * @video_code: CEA VIC of the mode
   328	 *
   329	 * Creates a new mode matching the specified CEA VIC for a KUnit test.
   330	 *
   331	 * Resources will be cleaned up automatically.
   332	 *
   333	 * Returns: A new drm_display_mode on success or NULL on failure
   334	 */
   335	struct drm_display_mode *
   336	drm_kunit_display_mode_from_cea_vic(struct kunit *test, struct drm_device *dev,
   337					    u8 video_code)
   338	{
   339		struct drm_display_mode *mode;
   340		int ret;
   341	
   342		mode = drm_display_mode_from_cea_vic(dev, video_code);
   343		if (!mode)
   344			return NULL;
   345	
   346		ret = kunit_add_action_or_reset(test,
   347						kunit_action_drm_mode_destroy,
   348						mode);
   349		if (ret)
   350			return NULL;
   351	
   352		return mode;
   353	}
   354	EXPORT_SYMBOL_GPL(drm_kunit_display_mode_from_cea_vic);
   355	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ