Subject: Re: [PATCH] powerpc: Use hardware RNG for arch_get_random_seed_* not arch_get_random_*

From: Segher Boessenkool <[email-masked]>
Date: Fri, 17 Jul 2015 04:37:57 -0500

On Fri, Jul 17, 2015 at 07:15:58PM +1000, Paul Mackerras wrote:
> @@ -7,13 +7,22 @@
>  
>  static inline int arch_get_random_long(unsigned long *v)
>  {
> +	return 0;
> +}
> +
> +static inline int arch_get_random_int(unsigned int *v)
> +{
> +	return 0;
> +}
> +
> +static inline int arch_get_random_seed_long(unsigned long *v)
> +{
>  	if (ppc_md.get_random_long)
>  		return ppc_md.get_random_long(v);

You probably want to change that last name (ppc_md.get_random_long) then?
Pretty confusing like this :-)

Segher