Re: [Y2038] [PATCH v3 6/7] timex: use __kernel_timex internally

2018-07-12 Thread Christoph Hellwig
On Fri, Jul 06, 2018 at 10:42:46PM -0700, Deepa Dinamani wrote:
> struct timex is not y2038 safe.
> Replace all uses of timex with y2038 safe __kernel_timex.
> 
> Note that struct __kernel_timex is an ABI interface definition.

If it actually is an ABI interface it should probably have a different
name.
___
Y2038 mailing list
Y2038@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/y2038


Re: [Y2038] [PATCH v3 6/7] timex: use __kernel_timex internally

2018-07-07 Thread Richard Henderson
On 07/06/2018 10:42 PM, Deepa Dinamani wrote:
> diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
> index 6e921754c8fc..ec86e77d3055 100644
> --- a/arch/alpha/kernel/osf_sys.c
> +++ b/arch/alpha/kernel/osf_sys.c
> @@ -1260,7 +1260,7 @@ struct timex32 {
>  
>  SYSCALL_DEFINE1(old_adjtimex, struct timex32 __user *, txc_p)
>  {
> -struct timex txc;
> + struct __kernel_timex txc;
>   int ret;
>  
>   /* copy relevant bits of struct timex. */

Acked-by: Richard Henderson 


r~
___
Y2038 mailing list
Y2038@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/y2038