Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1259317ybh; Thu, 16 Jul 2020 07:27:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJyvGs9tDdEeJ5AJ3xQZ2bNJP1+8Qx+G8c3ZPqay7W/aue2UgpWENB6Y0GWris3La7SHB0 X-Received: by 2002:a17:906:7694:: with SMTP id o20mr3926154ejm.289.1594909625113; Thu, 16 Jul 2020 07:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594909625; cv=none; d=google.com; s=arc-20160816; b=ed1fIJ4DK1g7IXCzrruTKZ7lCmj1rUQ3tbtRT7vXcEfu1b7ziS0Qc5LmIODKjcAceT RfBunbmnABh7XmSIh7sWUCcEMC1H7xV2zralwLRFFKry1DOk96ou/rIjJG8b83ssRLUM C2rHkxVfmJE+YPlUI61/Lw2ezU5RiQ/mxcC1WjLzIMpLsK2ttg6HNltsvgMku6Y6C8gr 6YwWcQAoQoQ6tKJrfptGbTmAMo7L3ezszg8kl/JdBSuOU5lU6Lhi/7rQ24ZQYaUZ2w+d tAEwqM3YCQ0VUQYLQrWAZD4Hs6N+tmHNQMkzYwXwCK2kuVfVHRWAm6ry1FzJtMbfUQnQ u3Uw== 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 :dkim-signature; bh=Set1dhkM7ySpcYhEVevrDRczursKUUnEZn8mFiGTDo0=; b=j3EPKuB5Lof+KrjQ7F56s8wtYd6Z5OmaCI0iGsFkRfH3YR3mvViw6yuBJfX7pdQOly nDAvSA355V6GTU+bO4ix/hRT/TA8Mqd1q2xP1Mzk24RqaEYG3HO5tz8ZuaAK/2+Wn4AU lWHWZrF5HzEvDrvxuuHjlfLtgc6xAEMruvnHN1sJNt3g+uCzvgdBEjSub3t7LoJUbUwa 4cQUNqTKm/vv4wDZzwD54nYzM8tFLTdNriF5ZDurpcEj9vMwJbOQNDR1ihEBdpBahkV/ PMYVqAjy+8bSfVo2bhgcflYiUnsYFvgKq9y/BWXWCpOtUDGyxBGTrQEJpBONPBQm6Skz H0Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jiHRefMy; 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 u29si3222003edi.469.2020.07.16.07.26.42; Thu, 16 Jul 2020 07:27:05 -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=@kernel.org header.s=default header.b=jiHRefMy; 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 S1729096AbgGPOZq (ORCPT + 99 others); Thu, 16 Jul 2020 10:25:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:50066 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729066AbgGPOZo (ORCPT ); Thu, 16 Jul 2020 10:25:44 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 66BEF207CB; Thu, 16 Jul 2020 14:25:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594909543; bh=PKHHa2U0Q/fS+204ojzXqyjFZw5lyyFrrzNLEaQzU9U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jiHRefMypriSTxbcAZBCIT2gM7OotHWPd2OzKoj4aJLrgXi28At0mE73ZBwwIt09f Aj3Tsu2oNHp3Jh4im+q02Nm3bVeLte7b3IAHBo9IRXQoY2DhkNiyTixShVIfe3RHZh bOeZOnbXDULXOBVtAR37UqwB1cdHdpWaO3cFR2vQ= Date: Thu, 16 Jul 2020 16:25:37 +0200 From: Greg Kroah-Hartman To: B K Karthik Cc: Ian Abbott , H Hartley Sweeten , Al Viro , Vlastimil Babka , Xiyu Yang , Michel Lespinasse , Divyansh Kamboj , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] staging: comedi: comedi_fops.c: added casts to get rid of sparse warnings Message-ID: <20200716142537.GA2176745@kroah.com> References: <20200716141747.wewrnejrygosqhd5@pesu-pes-edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716141747.wewrnejrygosqhd5@pesu-pes-edu> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 16, 2020 at 10:17:47AM -0400, B K Karthik wrote: > fixed sparse warnings by adding a cast in assignment from > void [noderef] __user * to unsigned int __force * > and a reverse cast in argument from > unsigned int * to unsigned int __user * . > > Signed-off-by: B K Karthik > --- > drivers/staging/comedi/comedi_fops.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) What changed from previous versions? That always goes below the --- line. Please fix that up and resend a v4. thanks, greg k-h