Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp619178ybr; Fri, 22 May 2020 15:00:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2sUdQWNxfHyBcvV6qKnuciYA9J/YGMKwaoQ6GxFFAuqp8/kyoQOox/RSpZr3KotHkvmPT X-Received: by 2002:a17:906:2c03:: with SMTP id e3mr9829260ejh.206.1590184815986; Fri, 22 May 2020 15:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590184815; cv=none; d=google.com; s=arc-20160816; b=vliGLiYLANoSppwIm6CnAMdehaJbBGxB2pHXgVsWdHhB88K99A5z51KhSD1L5vONc2 bl7XKMywXApECIEk7pW5VIMBoHWV2LXq1GcMZGeH/77kxby3cb8lmTHlZvuucRrDBlEN QLPPrVYCpLxd/L93pnivYxSOd81cMNnTsxD+z40OwtgI13d3/k5ChtnEwNZJXsyxz+nI 96UpCH4owdMWos2ub2GVzovG4ZsFC96c1kgZMYAqZx/CvXGPuL6YtnqRbdn0XMShpJGH TO5ttS8N+zDsttVMgMfi5baXvi0XAs2bh51GLj2tJwl9r+GyAQDeTigHoZmZXNOrM5oF +lKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Mt9e6WPALCTMCuO/xs5xFmWcd34ofhwxKQa8e3fqTBE=; b=Y6L+LLIJyasp+DRHy5vzC0oZnJCDr1dzRTMCVqLnszA49YcwX92fTRdxYDquTYGzEk YYKb3gVqLoQ9aIuNBWSsDLbz8wNfdboJQgpj3zy2ITbxHj6aBHRp7CBNCNjrs8h1bmYk jejbqrVMo1+hi8LxIelQIzAczwOKFL9rR1cwZYtw7hNht/MD3WmPHcUL27v16RFb+h2d inwWqBgn+wjUlO/ubPLzk0nEFZK4T57E6Or0DgclVxOsOVR1YwoS1egETOMDCiluqtdv 13sYFtvWV3FttWAgtFkCw7AmtsQMCXL7G74sRNT48LpRfCnZueV0GcvWuMuVSgldwjDN Kx3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb25si5444683ejb.177.2020.05.22.14.59.53; Fri, 22 May 2020 15:00:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731098AbgEVV6X (ORCPT + 99 others); Fri, 22 May 2020 17:58:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731029AbgEVV6W (ORCPT ); Fri, 22 May 2020 17:58:22 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EB01C061A0E for ; Fri, 22 May 2020 14:58:22 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.93 #3 (Red Hat Linux)) id 1jcFgE-00Dk3E-RK; Fri, 22 May 2020 21:58:15 +0000 Date: Fri, 22 May 2020 22:58:14 +0100 From: Al Viro To: Max Filippov Cc: linux-xtensa@linux-xtensa.org, Chris Zankel , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] xtensa: clean up __user annotations in asm/uaccess.h Message-ID: <20200522215814.GW23230@ZenIV.linux.org.uk> References: <20200522214153.30163-1-jcmvbkbc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200522214153.30163-1-jcmvbkbc@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 22, 2020 at 02:41:50PM -0700, Max Filippov wrote: > Hello, > > this series adds missing __user annotations to functions in > asm/uaccess.h. It fixes a bunch of sparse warnings for otherwise correct > code. > > Max Filippov (3): > xtensa: add missing __user annotations to __{get,put}_user_check > xtensa: fix type conversion in __get_user_size > xtensa: add missing __user annotations to asm/uaccess.h Useful test: void __user *f(void __user * __user *p) { void __user *q; (void)get_user(q, p); return q; }