From patchwork Thu Jan 10 16:24:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 155213 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2088162jaa; Thu, 10 Jan 2019 08:28:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN4DwDIhZxcwSBZLVEdTviTQhdhUfwy1Hm4g0+ROsh5jtDfaGbrGI6QQYCVU/v/co28VLUVZ X-Received: by 2002:a17:902:a601:: with SMTP id u1mr10914313plq.77.1547137691832; Thu, 10 Jan 2019 08:28:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547137691; cv=none; d=google.com; s=arc-20160816; b=GalImcSp3AmlQLATIzi2qCocTmbjl2lBet1UOjhxl6s05sU8h3QBHw+2rvevnRU+Xq 2AxZh/o1wxb+fEP674DCsSe7eO+Dv9OPnMwLYjX/1y7pv3iAgHhpBxcWNP/cGbLrOaWz Of4nMN8YK6W/0xEztrvNyIcsOlTYl0zkPp0P+Cd7weVs/eBlqzzfjmu4nu0obX+saLJk wzqxXry5i9WhoHX2DcCzBvKKkKD+1OOy3e9gxbcvzqLBBUE7dSR+Ydura4vYogK7Ftoa 9uJ1uLEYcbnnKDJM0wJOgX0dj3W2fyXzJ7bVCnCtLsmEzd4JwyKAmzK3hnvmFsFKKmJ7 dpsg== 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 z19si34009929pfc.95.2019.01.10.08.28.11; Thu, 10 Jan 2019 08:28:11 -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 S1729434AbfAJQ2L (ORCPT + 31 others); Thu, 10 Jan 2019 11:28:11 -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 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(-) -- 2.20.0 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: