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] [thread-next>] [day] [month] [year] [list]
Message-ID: <202509041246.7GqISV63-lkp@intel.com>
Date: Thu, 4 Sep 2025 13:07:53 +0800
From: kernel test robot <lkp@...el.com>
To: Akhilesh Patil <akhilesh@...iitb.ac.in>, alexandre.belloni@...tlin.com,
	krzk+dt@...nel.org, robh@...nel.org, conor+dt@...nel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	skhan@...uxfoundation.org, linux-rtc@...r.kernel.org,
	devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
	akhileshpatilvnit@...il.com
Subject: Re: [PATCH 4/7] rtc: m41t93: Add alarm support

Hi Akhilesh,

kernel test robot noticed the following build warnings:

[auto build test WARNING on abelloni/rtc-next]
[also build test WARNING on linus/master v6.17-rc4 next-20250903]
[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/Akhilesh-Patil/rtc-m41t93-add-device-tree-support/20250903-223155
base:   https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
patch link:    https://lore.kernel.org/r/4f78f8fa113d4262e162972f5c15155410a64e8b.1756908788.git.akhilesh%40ee.iitb.ac.in
patch subject: [PATCH 4/7] rtc: m41t93: Add alarm support
config: loongarch-randconfig-002-20250904 (https://download.01.org/0day-ci/archive/20250904/202509041246.7GqISV63-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 2e122990391b2ba062e6308a12cfedf7206270ba)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250904/202509041246.7GqISV63-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/202509041246.7GqISV63-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/rtc/rtc-m41t93.c:244:3: warning: implicit conversion from 'unsigned long' to 'unsigned int' changes value from 18446744073709551455 to 4294967135 [-Wconstant-conversion]
     243 |         val = enabled ? M41T93_BIT_A1IE | M41T93_BIT_ABE :
         |             ~
     244 |                 ~(M41T93_BIT_A1IE | M41T93_BIT_ABE);
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning generated.


vim +244 drivers/rtc/rtc-m41t93.c

   236	
   237	static int m41t93_alarm_irq_enable(struct device *dev, unsigned int enabled)
   238	{
   239		struct m41t93_data *m41t93 = dev_get_drvdata(dev);
   240		unsigned int val;
   241		int ret;
   242	
   243		val = enabled ? M41T93_BIT_A1IE | M41T93_BIT_ABE :
 > 244			~(M41T93_BIT_A1IE | M41T93_BIT_ABE);
   245	
   246		ret = regmap_update_bits(m41t93->regmap, M41T93_REG_AL1_MONTH,
   247					 M41T93_BIT_A1IE | M41T93_BIT_ABE, val);
   248		if (ret)
   249			return ret;
   250	
   251		return 0;
   252	}
   253	

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