From patchwork Fri Jan 18 16:18:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 155993 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3440418jaa; Fri, 18 Jan 2019 08:20:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN6vdLhkY7Kkig0099An0bz5LGyWLIhM8DtFV407E+LXjrJcEb3HKwYxJuoY6f4boM8Cv/Oo X-Received: by 2002:a63:920a:: with SMTP id o10mr17871126pgd.141.1547828443731; Fri, 18 Jan 2019 08:20:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547828443; cv=none; d=google.com; s=arc-20160816; b=HzXK5Gmc5I389YcIhBThHxxlOARy3zrw1UtGdth+8NOgZjvicg9TwPJxNBMcwPS+nO pU52GXmLGI+7Xg8RGsAtCuawSzdVRrQbSzr1Ipt2ZSWBhLF3g3+y6BCghPrMZHU9LPUV IJ4kEE0VgD/phB4mN5UaW5cXPg7yT1Ns8tfK9crIalk6R4jwcguABY2IKgNOnP6HCHaO uUH2PwDWgyxlFuznLBOPpQYRAZ2nXTBBavhGKeXupLetmXRbghUGGZPhjp9jAc22f2+F QmHz34imh/rxPrsOUdmyxMBZ6cDzT2JzKzcgd4uqppAry/aamcx76nG+GGL+XDz9TXSz gF6Q== 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=Nm3iW1LVqgEo0JvUYLEzFgIPhinLfd5Tx4r7wk2JUM6PNJ9otDota/o34TLAmouwR3 1jlcfC1kn5tRA6HjCZLTaQ0I8WRDG4PK+vA+9kP64914yTXjQ9jJn1eWuR58+aK3cnpS b52E+TNt0Mr7L0/W+LfEGvWXswA+HLioOL4gtV65ILQJyOzM7UYiWfALsDCPrQwQeIsX DsR022drnihwhPTwSyblp4eCg3sIxgtD+Pjn2dyTSNV9E495b8wJGkfGdqoms9V0Mtri nSTeNHTw5iD5UjKiRG66vxdcnqFIYTik85AK+BY+a1VNOr4E8gmgdiKV3sCh4clzRz1J KO+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 q13si5014342pgj.86.2019.01.18.08.20.43; Fri, 18 Jan 2019 08:20:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of netdev-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 netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728387AbfARQUm (ORCPT + 10 others); Fri, 18 Jan 2019 11:20:42 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:34615 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728162AbfARQUk (ORCPT ); Fri, 18 Jan 2019 11:20:40 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1Mzz6m-1h7x482Ucw-00x1wT; Fri, 18 Jan 2019 17:19:30 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Arnd Bergmann , 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, benh@kernel.crashing.org, 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, akpm@linux-foundation.org, deepa.kernel@gmail.com, ebiederm@xmission.com, firoz.khan@linaro.org, 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, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 11/29] sparc64: fix sparc_ipc type conversion Date: Fri, 18 Jan 2019 17:18:17 +0100 Message-Id: <20190118161835.2259170-12-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118161835.2259170-1-arnd@arndb.de> References: <20190118161835.2259170-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:E0WLVEaCcQzfD09xtrq4A5jWMomm7adRfer83EpRAVfp369asuy x3/FJ1daGxLmHv7isfyBmmw9CiTpRNTIZF5Gr3d8LXmER0Y68fJAFAfjaBn0f4G0BGnMaQx x2SRX/iEk+wXVeqe10GMRlxV+Tfz1UGHqVsgCFYxSmbS+xtCO7zPPuk3cos5G9lUpWYPzzZ Cd+cyB2Mh1kEIhZmabg+A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:U8fLlZM0o6k=:bhl6IpqDxoJ6kbMGE/L2Hc CzXueO2oa5jGlTL6WLnsLYPOBF2mZVhxD5AP4llrcKg4Do2nFrxENghqjFTLAbPL1QsxZXc/b LnpyH8IuA+uVRH8S8x50ONY5YeJxq+2QhNxaH/wLHtFKi7z8USTpeeVUZCXlul0nja0gF6rOO LL1USYrfYH8u14o6qjYuV81dwO272SuobC89RmEf5pmmulouyOUgkcp/shSJww4iWgefqz74u 6U7B4Y+732hH50WeHW+jmK2UZNpQy29Zjoe2j/U7CTNx8BE+Gkr54u55/Lh2JunMk9s/og4TR dsMViyBx2kjJjkgEqxuWmHUTNlQu51BtfQLyRTAWbgOz01AACB59xRs8hgCJSfM1qdrhWxkWx b7Mf3ttpjFoH/yCzfhmqtBVJbePhcOvcZVDbx2TI+CZIobvf1sZQslNdYpNtm1VH178fbI+5B Ec2CtgMHKExKURICO74Kg//YVBx8XEU6LSNaZh7pucWUly+BVsVaNCdnU6hItAL/BM4GqJnT+ w0oS45C/vBaPsuwz0142f3Y/62Xkn18OPu9YZUSlAzq7LM9Pe/9K5fmgYrLaC9FSDljZuydmq jykoWGCnNNUhJI5AYsoroGoYkVnN9Ec9lvj5OEb2n9u0Buc9VIYHXAq6knDPefHHxymWenmkD roYvKjwcBwNJpHKmEGmj7QZzsVbJDYDPSFwoNNBDl7fi9IWX3nVa1iRT0iAn7dyxgKUgZltdI hQ4oQT3HJwHWivAfkNceN5wG99AQRLWvlYiWXw== Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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: