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: <aKdrO7DE8ky2DBu2@mail.your-server.de>
Date: Thu, 21 Aug 2025 20:53:47 +0200
From: Andreas Klinger <ak@...klinger.de>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: jic23@...nel.org, robh@...nel.org, krzk+dt@...nel.org,
	conor+dt@...nel.org, lars@...afoo.de,
	javier.carrasco.cruz@...il.com, mazziesaccount@...il.com,
	arthur.becker@...tec.com, perdaniel.olsson@...s.com,
	mgonellabolduc@...onoff.com, muditsharma.info@...il.com,
	clamor95@...il.com, emil.gedenryd@...s.com,
	devicetree@...r.kernel.org, linux-iio@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 2/3] iio: light: add support for veml6046x00 RGBIR
 color sensor

Hi Andy,

Andy Shevchenko <andriy.shevchenko@...ux.intel.com> schrieb am Do, 21. Aug 12:43:
> > > > +	part_id = le16_to_cpu(reg);
> > > > +	if (part_id != 0x0001)
> > > > +		dev_info(dev, "Unknown ID %#04x\n", part_id);
> > > 
> > > For 0 it will print 0 and not 0x0000. Is it okay?
> > 
> > I just tried and it prints 0x00 if the part_id is 0.
> 
> This is interesting... So it's not 0, nor 0x0000?

No. It prints 0x00 on my BeagleBoneBlack with kernel 6.16.0-rc5.

Andreas


Download attachment "signature.asc" of type "application/pgp-signature" (660 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ