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  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]
Date:	Tue, 24 May 2016 13:27:06 +0200
From:	Linus Walleij <>
To:	Crestez Dan Leonard <>
Cc:	Jonathan Cameron <>,
	"" <>,
	"" <>,
	Hartmut Knaack <>,
	Lars-Peter Clausen <>,
	Peter Meerwald-Stadler <>,
	Daniel Baluta <>,
	Giuseppe Barba <>,
	Denis Ciocca <>
Subject: Re: [PATCH 1/3] iio: st_sensors: Init trigger before irq request

On Fri, May 13, 2016 at 8:43 PM, Crestez Dan Leonard
<> wrote:

> This fixes a possible race where an interrupt arrives before complete
> initialization and crashes because iio_trigger_get_drvdata returns NULL.
> Cc: Linus Walleij <>
> Cc: Giuseppe Barba <>
> Cc: Denis Ciocca <>
> Signed-off-by: Crestez Dan Leonard <>
> ---
> I ran into this while breaking the driver. But since the interrupt line can be
> shared the handler should always be able to accept and ignore a call.

Reviewed-by: Linus Walleij <>

However I think my patch fixing the thread issue will collide
by being close in context to this so it'd be great if you
could resend it on top of
"iio: st_sensors: switch to a threaded interrupt"?

Linus Walleij

Powered by blists - more mailing lists