From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6941CC43603 for ; Wed, 18 Dec 2019 16:49:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4580320717 for ; Wed, 18 Dec 2019 16:49:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727543AbfLRQtP (ORCPT ); Wed, 18 Dec 2019 11:49:15 -0500 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:51730 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726955AbfLRQtO (ORCPT ); Wed, 18 Dec 2019 11:49:14 -0500 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1ihcVR-0007gu-00; Wed, 18 Dec 2019 16:49:01 +0000 Date: Wed, 18 Dec 2019 11:49:01 -0500 From: Rich Felker To: Arnd Bergmann Cc: Yoshinori Sato , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] y2038: sh: remove timeval/timespec usage from headers Message-ID: <20191218164901.GN1666@brightrain.aerifal.cx> References: <20191218164527.542823-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191218164527.542823-1-arnd@arndb.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Rich Felker > --- > 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