Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2115699imu; Thu, 10 Jan 2019 08:31:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN6T/QkWx48y51oPQDzobZlDs0vwMD2HWArhDiIpGSy9+g3lc9FneNXd/TLSR4N9rixn6IKH X-Received: by 2002:a63:7e5b:: with SMTP id o27mr9902494pgn.214.1547137908922; Thu, 10 Jan 2019 08:31:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547137908; cv=none; d=google.com; s=arc-20160816; b=hhKmKvTEngSiY1olqzR20jPHwEHaVqbatgu7zqKB3tbgRIHiApij9sDvWvEijOrWO6 Df40moC6kVPJfw83I0ekimyFOaT7p+e4/XoLyhj86BHvyZRCNcIy1/v8RjbbLnpDRHxI 2HHsdctEnoMs1F1G44dQHcUw3qh/QZu+8v0GbvPDh6WgHA9gMBCExvXARmUNXgzJtZYR znAY8DzAVunwZKudfhr+v0kOgDZI7XOEIrI0IWNjt9u1ZdJBhaX1a5+w9Ac4pY5p4z83 nfmarmph1q7rw9dAYbHjQwvh78uSlvpYk9MfkSdzwOOjn8CDP1vP2Q+CkyYSSz2P00hD ak0w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YdPYKbdbEkYOGpwxvk8lmHxocpqP+i3cN6rb6rhgtik=; b=mvfkrOnVCeEMQTm0OwKmygjqmkUTs7RC+Macoaqm/ZKHcDhFOHuK39ZxJGYLwB3kOv slBJIXxrqEVhXXsUo5CKImDCeQRarS8zOwZLXFL0LtFOUUEyqb6UbpHnmNkgKGcbin04 fOo01tjOIda6h5GI81dVFOFquEBeHHax35S5ejtqDClhK8rhtlOCZbaKygRtZN91+WWd haXqW7Fv9aeJDTrteiwkPIeJRZo4ee/6YBWrMEal7iIfhj2uHxZ0b/XWiIZzfjxWZn8z gRGKWRca2R7Pi+l3VBzaSjbaCchow0VwsDTH3DAo73cANj2jCFlm2Whn4KfKUKQJm5D7 e1uQ== 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 z11si76316024pfg.107.2019.01.10.08.31.34; Thu, 10 Jan 2019 08:31:48 -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 S1729351AbfAJQ2K (ORCPT + 99 others); Thu, 10 Jan 2019 11:28:10 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:35285 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728277AbfAJQ2I (ORCPT ); Thu, 10 Jan 2019 11:28:08 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1N3bfB-1hOpxi10ex-010gXM; Thu, 10 Jan 2019 17:25:21 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Arnd Bergmann , ink@jurassic.park.msu.ru, mattst88@gmail.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, monstr@monstr.eu, paul.burton@mips.com, deller@gmx.de, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, dalias@libc.org, davem@davemloft.net, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jcmvbkbc@gmail.com, firoz.khan@linaro.org, ebiederm@xmission.com, deepa.kernel@gmail.com, linux@dominikbrodowski.net, akpm@linux-foundation.org, dave@stgolabs.net, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org Subject: [PATCH 12/15] sparc64: fix sparc_ipc type conversion Date: Thu, 10 Jan 2019 17:24:32 +0100 Message-Id: <20190110162435.309262-13-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190110162435.309262-1-arnd@arndb.de> References: <20190110162435.309262-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:8LjwLF71onD7Un3igtIcMvlIPZOlhlWUzQRoDccuK5lL0rN5NIV 3nd9PCzb2nQdqQGzIkmdHxgElT6H3c8JzOETRrNb/eN8Z8I6WwBRWsQELv4pGUHfxbWt0fM GzgRAOsetyOd9IeatPWWGPu/dnvSY6mChK/iYK7FaIyDgWu+fwsSDLwxUJrfQ/jg0vOF2D0 ftdh9RqhNUIobjsFwQMQw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:s8zXH90QMCw=:+hTFXoQYh8mxeKimTxGxqF B15Jc3L5v0MiV6tI6llMIqx0rxi62AMEjpKJYLfABiIOuBA0OZNI4pqIHG+Lr2AozjOp2vyOO oEy7CktmKfYEPLF7mWOjP+1OqUEiX/b63rkbD9BsntlgUUVtQQgfQq2ToMomFxkNGDuvNlzkx luhRPvWjxFkLPWrvmv9VwAUYmySUTIFTEPLmGFxmanA/9C5oKIcgC6zaxsb0jejPmoUN27iDh aI9l07d5W/psSP746zO6UKwmb20CBnpgbYUBv4q9vTjCvzgq09qXojGdBuCAtPthHP5fo3Q5B qYnD91TYbaM1kgyxVo1rIi9cM5oS3Qj3kwk2u9DIW9E3jTHeECrsgiYg7hk2f3uoOeyzRGPoJ jxmPSH7+m+JIyCsYirjUZl61OPqhGg+hS1q2EQqvSsEfAQotaR0D819svXVDZ610jlTej5NfT FIEhJdTp2bS2mBK75c7MWdtXbEv8qQ4czm0NbjvIlpi+vsc9I9jWSuLyRiiUZOTJEtov84nAS xGHqWmBtkTP0Nz2e4o2ZUnNg6lB3j8uN7h5Ynt1L9vXfI7xNdfgdZkDib+7gyFKruD9aty/xF JXvb6QH3haQd3X3624R1ncC0ZWInsyb2fM3JzOnuaPCaD7/FZkTlb0fVBcdgcFtU3Gx1T0GrF 1rV3kz54uhPnX0uyH1Tg114rcmdAL5fposyPDBa+BLOHTnliVs2l1fk26274baGkuCyK+rzch FBT4zGaPABq987gfcJdg6qe33BoaIXhKLLr2OA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __kernel_timespec and timespec are currently the same type, but once they are different, the type cast has to be changed here. Signed-off-by: Arnd Bergmann --- arch/sparc/kernel/sys_sparc_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/kernel/sys_sparc_64.c b/arch/sparc/kernel/sys_sparc_64.c index 274ed0b9b3e0..1c079e7bab09 100644 --- a/arch/sparc/kernel/sys_sparc_64.c +++ b/arch/sparc/kernel/sys_sparc_64.c @@ -344,7 +344,7 @@ SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second goto out; case SEMTIMEDOP: err = sys_semtimedop(first, ptr, (unsigned int)second, - (const struct timespec __user *) + (const struct __kernel_timespec __user *) (unsigned long) fifth); goto out; case SEMGET: -- 2.20.0