Re: [PATCH RT 03/10] random: avoid preempt_disable()ed section

2017-11-27 Thread Steven Rostedt
On Fri, 24 Nov 2017 14:26:40 +0800 Alex Shi wrote: > Hi Steve, > > I just build the patches, a build error found here: > > drivers/char/random.c: In function ‘get_random_int’: > drivers/char/random.c:1816:7: error: assignment from incompatible > pointer type [-Werror=incompatible-pointer-types]

Re: [PATCH RT 03/10] random: avoid preempt_disable()ed section

2017-11-23 Thread Alex Shi
Hi Steve, I just build the patches, a build error found here: drivers/char/random.c: In function ‘get_random_int’: drivers/char/random.c:1816:7: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] hash = &get_locked_var(hash_entropy_int_lock, get_random_int_ha

[PATCH RT 03/10] random: avoid preempt_disable()ed section

2017-11-22 Thread Steven Rostedt
4.4.97-rt111-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior extract_crng() will use sleeping locks while in a preempt_disable() section due to get_cpu_var(). Work around it with local_locks. Cc: stable...@vger.kerne