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