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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202401270633.VorEna6q-lkp@intel.com>
Date: Sat, 27 Jan 2024 07:07:23 +0800
From: kernel test robot <lkp@...el.com>
To: Peter Griffin <peter.griffin@...aro.org>, arnd@...db.de,
	robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
	linux@...ck-us.net, wim@...ux-watchdog.org, conor+dt@...nel.org,
	alim.akhtar@...sung.com, jaewon02.kim@...sung.com,
	chanho61.park@...sung.com, semen.protsenko@...aro.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	kernel-team@...roid.com, peter.griffin@...aro.org,
	tudor.ambarus@...aro.org, andre.draszik@...aro.org,
	saravanak@...gle.com, willmcvicker@...gle.com, linux-fsd@...la.com,
	linux-watchdog@...r.kernel.org, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linux-samsung-soc@...r.kernel.org
Subject: Re: [PATCH 2/9] soc: samsung: exynos-pmu: Add
 exynos_pmu_update/read/write APIs and SoC quirks

Hi Peter,

kernel test robot noticed the following build errors:

[auto build test ERROR on krzk/for-next]
[also build test ERROR on robh/for-next soc/for-next linus/master v6.8-rc1 next-20240125]
[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/Peter-Griffin/dt-bindings-watchdog-samsung-wdt-deprecate-samsung-syscon-phandle/20240123-070052
base:   https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git for-next
patch link:    https://lore.kernel.org/r/20240122225710.1952066-3-peter.griffin%40linaro.org
patch subject: [PATCH 2/9] soc: samsung: exynos-pmu: Add exynos_pmu_update/read/write APIs and SoC quirks
config: x86_64-buildonly-randconfig-006-20240126 (https://download.01.org/0day-ci/archive/20240127/202401270633.VorEna6q-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240127/202401270633.VorEna6q-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/202401270633.VorEna6q-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/pinctrl/samsung/pinctrl-exynos.c:27:
>> include/linux/soc/samsung/exynos-pmu.h:38:1: error: expected identifier or '('
      38 | {
         | ^
   include/linux/soc/samsung/exynos-pmu.h:44:1: error: expected identifier or '('
      44 | {
         | ^
>> include/linux/soc/samsung/exynos-pmu.h:50:9: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
      50 |         return ERR_PTR(-ENODEV);
         |                ^~~~~~~~~~~~~~~~
   include/linux/soc/samsung/exynos-pmu.h:55:9: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
      55 |         return ERR_PTR(-ENODEV);
         |                ^~~~~~~~~~~~~~~~
   4 errors generated.


vim +38 include/linux/soc/samsung/exynos-pmu.h

    35	
    36	static inline int exynos_pmu_update_bits(unsigned int offset, unsigned int mask,
    37						 unsigned int val);
  > 38	{
    39		return ERR_PTR(-ENODEV);
    40	}
    41	
    42	static inline int exynos_pmu_update(unsigned int offset, unsigned int mask,
    43					    unsigned int val);
    44	{
    45		return ERR_PTR(-ENODEV);
    46	}
    47	
    48	static inline int exynos_pmu_write(unsigned int offset, unsigned int val)
    49	{
  > 50		return ERR_PTR(-ENODEV);
    51	}
    52	

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