From patchwork Wed Dec 18 16:45:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 182015 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp897876ile; Wed, 18 Dec 2019 08:45:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwSrkS+YQNdTM5K/QUesALqgg9ZAhJza1UE4UUCBTvb91+8HYo20o4P3rvWrrO1wgyOOdJY X-Received: by 2002:a9d:674f:: with SMTP id w15mr3638448otm.243.1576687552375; Wed, 18 Dec 2019 08:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576687552; cv=none; d=google.com; s=arc-20160816; b=cLLZUaSnobVNfBJGjJZj11weanz2zujDFJBgwQql4apIHlT4tyROBUyYePJ7UDEtR1 SfN/et13RgR/J5s88j8hdinSOizr213leQ16K3OomDQr3iWMQCPHkXIM1VRKrN74PT2E Apn22TkLO/aHnof76TXu1YvRf8E6rGvuQ0xSjnYDOOLdWrbGXPskuabOaT4ltvr5pAkp ZUu3QEFm9kYpd6p2F7hVUR+jPZs+jcBgDkKfPNXwBbc6EaH+whJoP0FjWGfKmgWbIX4o /Fg9ICMz1JPdofjkG3JihaF8lt5w9o6VRCcT6XBXsgJGFof839ZcceckHnp3NhuTOopw gw/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=JdrpEA29m+xaetNqUu+N80xJaBLzkH4DyGpJsZri4gU=; b=GzQ3zGjsEWqi6FMTReBPlSVUAmcs0MwykBcEQEJMA5BedIo7/jw2cwwQCPuBnQ25nr 6SGuti7fIJfWcP4lTNsgd9LnVkejsRzOz7vLltlbRpQLEVrnKSrLSa5/qLQIb1MG/lCY 9k9IkfncGd4fUd8p6Sc3riHJICqij9aDy+1/7z9BFW8IGz5mEU5OiqXGHKGyea3Q4eWA GRxBp/m+WQ5ZMIJ+fJNsLorhV+/WhyCpUjRae5YvtxlkWph7dl7ko2+W1XlloP0u3Mzs D/DX3uVQA9ZcWFuIngHEDltyaaElRpLWVhmbe/mG93dwrhNjpzZ80VVP0NIjL3KuB93l EJ5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l14si2059168otb.108.2019.12.18.08.45.51; Wed, 18 Dec 2019 08:45:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727558AbfLRQpu (ORCPT + 27 others); Wed, 18 Dec 2019 11:45:50 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:40151 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfLRQpu (ORCPT ); Wed, 18 Dec 2019 11:45:50 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1N3bnP-1hhqcJ2ccd-010bkI; Wed, 18 Dec 2019 17:45:32 +0100 From: Arnd Bergmann To: Yoshinori Sato , Rich Felker Cc: Arnd Bergmann , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] y2038: sh: remove timeval/timespec usage from headers Date: Wed, 18 Dec 2019 17:45:11 +0100 Message-Id: <20191218164527.542823-1-arnd@arndb.de> X-M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O3Qtb1 mKAVwxYYz/a+TMd35h6MqHd005NEDP3gs4jqNBOgzODOCV02UEY0Yh3ddjnlP05IS5pfAoizz Z6IXwS8PJvxCOAkLj7XNzlpnu2Sindq08PgjDXDDhXh1g7mpRGgNVVCM45jsdmFoC71tXvtgx 7rwwN6hGNO9MeSi97SNQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/sh/include/uapi/asm/sockios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.0 Acked-by: Rich Felker 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 */