[lkml]   [2016]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] random: properly align get_random_int_hash
On Thu, Mar 31, 2016 at 08:11:25PM -0500, Eric Biggers wrote:
> get_random_long() reads from the get_random_int_hash array using an
> unsigned long pointer. For this code to be guaranteed correct on all
> architectures, the array must be aligned to an unsigned long boundary.
> Signed-off-by: Eric Biggers <>

Thanks, applied.

- Ted

 \ /
  Last update: 2016-05-05 03:21    [W:0.061 / U:2.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site