[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191218164901.GN1666@brightrain.aerifal.cx>
Date: Wed, 18 Dec 2019 11:49:01 -0500
From: Rich Felker <dalias@...c.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp>,
linux-sh@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] y2038: sh: remove timeval/timespec usage from headers
On Wed, Dec 18, 2019 at 05:45:11PM +0100, Arnd Bergmann wrote:
> This header file escaped my earlier cleanups for removing
> the in-kernel usage of timeval and timespec structs.
>
> Replace them with the corresponding __kernel_old_* types.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Acked-by: Rich Felker <dalias@...c.org>
> ---
> arch/sh/include/uapi/asm/sockios.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/sh/include/uapi/asm/sockios.h b/arch/sh/include/uapi/asm/sockios.h
> index ef18a668456d..3da561453260 100644
> --- a/arch/sh/include/uapi/asm/sockios.h
> +++ b/arch/sh/include/uapi/asm/sockios.h
> @@ -10,7 +10,7 @@
> #define SIOCSPGRP _IOW('s', 8, pid_t)
> #define SIOCGPGRP _IOR('s', 9, pid_t)
>
> -#define SIOCGSTAMP_OLD _IOR('s', 100, struct timeval) /* Get stamp (timeval) */
> -#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct timespec) /* Get stamp (timespec) */
> +#define SIOCGSTAMP_OLD _IOR('s', 100, struct __kernel_old_timeval) /* Get stamp (timeval) */
> +#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct __kernel_old_timespec) /* Get stamp (timespec) */
>
> #endif /* __ASM_SH_SOCKIOS_H */
> --
> 2.20.0
Powered by blists - more mailing lists