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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202409032359.jHPOaDBF-lkp@intel.com>
Date: Tue, 3 Sep 2024 23:46:41 +0800
From: kernel test robot <lkp@...el.com>
To: Alex Lanzano <lanzano.alex@...il.com>,
	Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
	Maxime Ripard <mripard@...nel.org>,
	Thomas Zimmermann <tzimmermann@...e.de>,
	David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>,
	Mehdi Djait <mehdi.djait@...tlin.com>
Cc: oe-kbuild-all@...ts.linux.dev, christophe.jaillet@...adoo.fr,
	dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 2/2] drm/tiny: Add driver for Sharp Memory LCD

Hi Alex,

kernel test robot noticed the following build errors:

[auto build test ERROR on robh/for-next]
[also build test ERROR on drm-misc/drm-misc-next linus/master v6.11-rc6 next-20240903]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Alex-Lanzano/dt-bindings-display-Add-Sharp-Memory-LCD-bindings/20240902-041405
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20240901201118.3179206-3-lanzano.alex%40gmail.com
patch subject: [PATCH v5 2/2] drm/tiny: Add driver for Sharp Memory LCD
config: x86_64-randconfig-102-20240903 (https://download.01.org/0day-ci/archive/20240903/202409032359.jHPOaDBF-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240903/202409032359.jHPOaDBF-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/202409032359.jHPOaDBF-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/tiny/sharp-memory.c: In function 'sharp_memory_crtc_enable':
>> drivers/gpu/drm/tiny/sharp-memory.c:344:17: error: implicit declaration of function 'pwm_apply_state'; did you mean 'pwm_apply_args'? [-Werror=implicit-function-declaration]
     344 |                 pwm_apply_state(smd->pwm_vcom_signal, &pwm_state);
         |                 ^~~~~~~~~~~~~~~
         |                 pwm_apply_args
   cc1: some warnings being treated as errors


vim +344 drivers/gpu/drm/tiny/sharp-memory.c

   318	
   319	static void sharp_memory_crtc_enable(struct drm_crtc *crtc,
   320					     struct drm_atomic_state *state)
   321	{
   322		struct pwm_state pwm_state;
   323		struct sharp_memory_device *smd = drm_to_sharp_memory_device(crtc->dev);
   324	
   325		sharp_memory_clear_display(smd);
   326	
   327		if (smd->enable_gpio)
   328			gpiod_set_value(smd->enable_gpio, 1);
   329	
   330		switch (smd->vcom_mode) {
   331		case SHARP_MEMORY_SOFTWARE_VCOM:
   332			smd->sw_vcom_signal = kthread_run(sharp_memory_sw_vcom_signal_thread,
   333							  smd, "sw_vcom_signal");
   334			break;
   335	
   336		case SHARP_MEMORY_EXTERNAL_VCOM:
   337			break;
   338	
   339		case SHARP_MEMORY_PWM_VCOM:
   340			pwm_get_state(smd->pwm_vcom_signal, &pwm_state);
   341			pwm_state.period =    1000000000;
   342			pwm_state.duty_cycle = 100000000;
   343			pwm_state.enabled = true;
 > 344			pwm_apply_state(smd->pwm_vcom_signal, &pwm_state);
   345			break;
   346		}
   347	}
   348	

-- 
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