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: <Z4jW_TUQ8RNr1FWX@smile.fi.intel.com>
Date: Thu, 16 Jan 2025 11:53:01 +0200
From: Andy Shevchenko <andy@...nel.org>
To: Jiri Slaby <jirislaby@...nel.org>
Cc: Andre Werner <andre.werner@...tec-electronic.com>,
	gregkh@...uxfoundation.org, hvilleneuve@...onoff.com,
	linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
	lech.perczak@...lingroup.com
Subject: Re: [PATCH v1] serial: sc16is7xx: Extend IRQ check for negative valus

On Thu, Jan 16, 2025 at 10:42:14AM +0100, Jiri Slaby wrote:
> This is threaded weirdly.

Yeah, new patch (version) — new email thread.

> On 16. 01. 25, 10:32, Andre Werner wrote:
> > Fix the IRQ check to treat the negative values as No IRQ.
> 
> Care to describe on what HW that can happen?

But how does this relevant? The whole idea is that neither I²C nor SPI
frameworks do not guarantee the IRQ field never be negative. This is
the fix to the previously submitted patch.

...

> > -	s->polling = !!irq;
> > +	s->polling = (irq <= 0);


-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ