mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/gpu/drm/msm/dp/dp_debug.c:229 dp_test_data_show() warn: inconsistent indenting
@ 2021-03-01  8:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-01  8:39 UTC (permalink / raw)
  To: Abhinav Kumar; +Cc: kbuild-all, linux-kernel, Rob Clark

[-- Attachment #1: Type: text/plain, Size: 2256 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8
commit: de3ee25473ba49f2e785e43b5db5e05cb35aad24 drm/msm/dp: add debugfs nodes for video pattern tests
date:   6 months ago
config: arm64-randconfig-m031-20210301 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

New smatch warnings:
drivers/gpu/drm/msm/dp/dp_debug.c:229 dp_test_data_show() warn: inconsistent indenting

Old smatch warnings:
drivers/gpu/drm/msm/dp/dp_debug.c:378 dp_debug_init() warn: passing zero to 'PTR_ERR'
drivers/gpu/drm/msm/dp/dp_debug.c:387 dp_debug_init() warn: passing zero to 'PTR_ERR'
drivers/gpu/drm/msm/dp/dp_debug.c:396 dp_debug_init() warn: passing zero to 'PTR_ERR'
drivers/gpu/drm/msm/dp/dp_debug.c:405 dp_debug_init() warn: passing zero to 'PTR_ERR'

vim +229 drivers/gpu/drm/msm/dp/dp_debug.c

   205	
   206	static int dp_test_data_show(struct seq_file *m, void *data)
   207	{
   208		struct drm_device *dev;
   209		struct dp_debug_private *debug;
   210		struct drm_connector *connector;
   211		struct drm_connector_list_iter conn_iter;
   212		u32 bpc;
   213	
   214		debug = m->private;
   215		dev = debug->drm_dev;
   216		drm_connector_list_iter_begin(dev, &conn_iter);
   217		drm_for_each_connector_iter(connector, &conn_iter) {
   218	
   219			if (connector->connector_type !=
   220				DRM_MODE_CONNECTOR_DisplayPort)
   221				continue;
   222	
   223			if (connector->status == connector_status_connected) {
   224				bpc = debug->link->test_video.test_bit_depth;
   225				seq_printf(m, "hdisplay: %d\n",
   226						debug->link->test_video.test_h_width);
   227				seq_printf(m, "vdisplay: %d\n",
   228						debug->link->test_video.test_v_height);
 > 229						seq_printf(m, "bpc: %u\n",
   230						dp_link_bit_depth_to_bpc(bpc));
   231			} else
   232				seq_puts(m, "0");
   233		}
   234	
   235		drm_connector_list_iter_end(&conn_iter);
   236	
   237		return 0;
   238	}
   239	DEFINE_SHOW_ATTRIBUTE(dp_test_data);
   240	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33102 bytes --]

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

only message in thread, other threads:[~2021-03-01  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01  8:39 drivers/gpu/drm/msm/dp/dp_debug.c:229 dp_test_data_show() warn: inconsistent indenting kernel test robot

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®