Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp425920ybm; Fri, 29 May 2020 03:41:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6JPzecsONuzdjL9JF+e9ArHlGqJ28kSzPRq1ZFHlDcZqX4rWr07PM0rB+UbxLWRYiL9lE X-Received: by 2002:aa7:d706:: with SMTP id t6mr7922316edq.210.1590748907101; Fri, 29 May 2020 03:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590748907; cv=none; d=google.com; s=arc-20160816; b=jaE3LjzCA/1Vt+7JbwgKR2dxZWaKBp2RaMsb+jXgv0J1UC7KUXekF80fpXmUrwmUYc uwHrImEpBeYpZMTlFDFfBbLVvVm0pwG1HEgY8PeIMBN87Q9hRRnYM296PQxzpntFrJ2N yMWpiFXKtX/K/d7EQkTALCm0U57aZUImNlJ9+/tyyUe2KFgMGj+QQShRt6ay8ucXx4Hr A4C8a6DC/m3p0Zsi/7TsQq9128JEja50eYRlWRNtH0fVWWwoafwVQTKnSs20oGdWTiBq kz0gTm1KTxem66t6H0lMSmIRN9LOQwTwQ5qwWOE/oGgtOWzvw3EN68ZOhryxgvGG/SYT NX0Q== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature; bh=DrJWaGM4a3MX/J0GEWqoT/wlEDnVb/4TWJho57P5fgY=; b=cPfOj3sgnRc7qHsTt7UAoMu27brNhQVPk1ufvpuA5bje4fSvzo5NaGpidPFGD11zf1 FApm61eepzvRqf6FJE4RljZznzYWOrDHNvQciZuIVGhlD+Ho2eeLy3JF8zG1U6DDRYHc nUq36pXP4Hi89u8AWft7auc8Pih6VNz7IpocJ7R7GkGSOjRjqoCGR9HZCvDVypWUUjrL QTwgEb9WKt1Gh2b1NhsPUkpqwiHecpAi9z3cbnkPx3AG+5Ga3aTv/2/QKI5zwHWX4nkD KYyMzUy39b8bN32w15lnza+TnDpJmyFj/0IvisbmSHagTTb8CoCJ1JgVYysQDdULHrzt 3oNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mev.co.uk header.s=20190130-41we5z8j header.b=Gncg5UIP; 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 p1si5281587ejd.333.2020.05.29.03.41.24; Fri, 29 May 2020 03:41:47 -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; dkim=pass header.i=@mev.co.uk header.s=20190130-41we5z8j header.b=Gncg5UIP; 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 S1726446AbgE2Kh3 (ORCPT + 99 others); Fri, 29 May 2020 06:37:29 -0400 Received: from smtp89.iad3b.emailsrvr.com ([146.20.161.89]:36642 "EHLO smtp89.iad3b.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbgE2Kh3 (ORCPT ); Fri, 29 May 2020 06:37:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mev.co.uk; s=20190130-41we5z8j; t=1590748648; bh=FjP52XxT3VemSHUHmsPAgeADSktOq+nBNoeBaWvN2kU=; h=Subject:To:From:Date:From; b=Gncg5UIPQnCOIE9emw1TsMXyXcfI1nl+71yelZpU0sCa6SM3j+9YV1axxk62lz+Nq 3FKyq+SjLSDNAAUjKhE906KkrPZKtapd3ZwPUbiAQahuRt99XLb60GwZPsAsLimUXA ++4n5fBfdmrqoUf1Bbsf1Xj95HkZxAHieCpJdJKs= X-Auth-ID: abbotti@mev.co.uk Received: by smtp4.relay.iad3b.emailsrvr.com (Authenticated sender: abbotti-AT-mev.co.uk) with ESMTPSA id 9F80520158; Fri, 29 May 2020 06:37:27 -0400 (EDT) X-Sender-Id: abbotti@mev.co.uk Received: from [10.0.0.173] (remote.quintadena.com [81.133.34.160]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.7.12); Fri, 29 May 2020 06:37:28 -0400 Subject: Re: [PATCH 07/10] comedi: lift copy_from_user() into callers of __comedi_get_user_cmd() To: Al Viro , Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <20200529003419.GX23230@ZenIV.linux.org.uk> <20200529003512.4110852-1-viro@ZenIV.linux.org.uk> <20200529003512.4110852-7-viro@ZenIV.linux.org.uk> From: Ian Abbott Organization: MEV Ltd. Message-ID: <50c801d4-684c-652d-5459-bbc97f90b3e1@mev.co.uk> Date: Fri, 29 May 2020 11:37:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200529003512.4110852-7-viro@ZenIV.linux.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Classification-ID: 60eccf60-c395-45c4-abc2-b9ccb1274598-1-1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/05/2020 01:35, Al Viro wrote: > From: Al Viro > > Signed-off-by: Al Viro > --- > drivers/staging/comedi/comedi_fops.c | 20 ++++++++++++-------- > 1 file changed, 12 insertions(+), 8 deletions(-) Signed-off-by: Ian Abbott -- -=( Ian Abbott || Web: www.mev.co.uk )=- -=( MEV Ltd. is a company registered in England & Wales. )=- -=( Registered number: 02862268. Registered address: )=- -=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-