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: <202502272137.JyS2vQml-lkp@intel.com>
Date: Thu, 27 Feb 2025 21:23:46 +0800
From: kernel test robot <lkp@...el.com>
To: Thierry Bultel <thierry.bultel.yh@...renesas.com>,
	thierry.bultel@...atsea.fr
Cc: oe-kbuild-all@...ts.linux.dev, linux-renesas-soc@...r.kernel.org,
	geert@...ux-m68k.org, paul.barker.ct@...renesas.com,
	Thierry Bultel <thierry.bultel.yh@...renesas.com>,
	linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org
Subject: Re: [PATCH v3 09/13] serial: sh-sci: Introduced sci_of_data

Hi Thierry,

kernel test robot noticed the following build errors:

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on tty/tty-next next-20250227]
[cannot apply to geert-renesas-drivers/renesas-clk tty/tty-linus geert-renesas-devel/next linus/master v6.14-rc4]
[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/Thierry-Bultel/dt-bindings-clock-Add-cpg-for-the-Renesas-RZ-T2H-SoC/20250226-221033
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link:    https://lore.kernel.org/r/20250226130935.3029927-10-thierry.bultel.yh%40bp.renesas.com
patch subject: [PATCH v3 09/13] serial: sh-sci: Introduced sci_of_data
config: sh-randconfig-002-20250227 (https://download.01.org/0day-ci/archive/20250227/202502272137.JyS2vQml-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250227/202502272137.JyS2vQml-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/202502272137.JyS2vQml-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/tty/serial/sh-sci.c: In function 'sci_probe_earlyprintk':
>> drivers/tty/serial/sh-sci.c:3249:31: error: initialization of 'struct sci_port *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
    3249 |         struct sci_port *sp = pdev->id;
         |                               ^~~~


vim +3249 drivers/tty/serial/sh-sci.c

  3245	
  3246	static int sci_probe_earlyprintk(struct platform_device *pdev)
  3247	{
  3248		const struct plat_sci_port *cfg = dev_get_platdata(&pdev->dev);
> 3249		struct sci_port *sp = pdev->id;
  3250	
  3251		if (early_serial_console.data)
  3252			return -EEXIST;
  3253	
  3254		early_serial_console.index = pdev->id;
  3255	
  3256		sp->params = sci_probe_regmap(cfg, sp);
  3257		if (!sp->params)
  3258			return -ENODEV;
  3259	
  3260		sci_init_single(pdev, &sci_ports[pdev->id], pdev->id, cfg, true);
  3261	
  3262		if (!strstr(early_serial_buf, "keep"))
  3263			early_serial_console.flags |= CON_BOOT;
  3264	
  3265		register_console(&early_serial_console);
  3266		return 0;
  3267	}
  3268	#endif
  3269	

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