Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4637142pxy; Tue, 27 Apr 2021 09:17:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9Lg5ri7E3pH7dg28+lhRJDeAeYk8JCZihAD7Ojeh/JNEwVm52ULYSyeyjQPfrhW5N3gBL X-Received: by 2002:a17:906:cb2:: with SMTP id k18mr24739715ejh.183.1619540236868; Tue, 27 Apr 2021 09:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619540236; cv=none; d=google.com; s=arc-20160816; b=uU1nr9U0hw8CIhdeuDnm7AI2EOybC2L9qt4d8dhVMROcpw8G83h3h16h4QOkOaHAXT FOK9zL++fP2D/nVpq2lfgmn65JmCOoGV7gw4Hgk1ae+MEPW9eJ/L5BGL671UIc8xea+S 78+79eGaz1nrQ5nGjejZnyMUQ4aVXPZ9HbfFMtptfUu1Grg/eueapn20Fd+gS811XuAl T3AlGdGqeyy5kMgYvVtFdVtfUuRIRz2AE3zJu66XbB3wZk5DRAu1XWUpLxV7Svpgg3NA uYXvf/VtUTIwQPrw//32uOYT+DIAk8WvccoEU/LwMkmLsR1FVWaFCWvRAd5EEODLNAVU +70g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=37hH6Rz86qxtU96vdEiaHVP25zIDIraai92kl1VJv+c=; b=Arf5Pio7Zma8Sodflwy1dmc+mNxxN9I3gaM4BPAhDbUOwW+PRQ+1X7qQGN1aAsXsdA Cor0xP240pGdVkAP1/WPP8GyQLlqnbwSWEJpAhebzozpp85dYD7bb+joFj8mIAgw952R pI8gsaYNIZ0ulkkgb2TEpcRtKUdqz4Bm4kJ1ejwCRLdW1fauu4V4uJ/3mVu0zHx4nyBA 3Rudvr7BPcv+W+R/P67XoOBB5tRiJuqLG71Gyp+Jawdmg9JcijmobKBaOo6vLMIA0AP7 snDN6UNGps/LvC1EzHWnt4N0iiGW3Dvdx2GOLG5l/eM4P94xxulSRY7euUxGdz6//ca1 KMaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ely7iI8R; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w2si3156958edi.470.2021.04.27.09.16.52; Tue, 27 Apr 2021 09:17:16 -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=@linuxfoundation.org header.s=korg header.b=Ely7iI8R; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237387AbhD0QKk (ORCPT + 99 others); Tue, 27 Apr 2021 12:10:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:44274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237348AbhD0QKj (ORCPT ); Tue, 27 Apr 2021 12:10:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A91446113D; Tue, 27 Apr 2021 16:09:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619539796; bh=37hH6Rz86qxtU96vdEiaHVP25zIDIraai92kl1VJv+c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ely7iI8RrigdHzjHrsk2RcAcs5Dmcpuo+2/zDOq7vIlmSKauCMJ5OBcfNsE4LiLPh em85pDuYEu7tTTVnjjus0v1qw9Y+IwLww9KTC1Bq2H3I3LP7D1mcz9WA/Eba3/yc// D2hwMdIBcmrgocezqyQftAq9aUZU/6hwu+7S2IHE= Date: Tue, 27 Apr 2021 18:09:53 +0200 From: Greg Kroah-Hartman To: Ashish Kalra Cc: Joe Perches , Abheek Dhawan , Johannes Weiner , Romain Perier , Waiman Long , Allen Pais , Ivan Safonov , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] staging: wlan-ng: silence incorrect type in argument 1 (different address spaces) warningJoe Perches , Message-ID: References: <20210427144556.GA19024@ashish> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210427144556.GA19024@ashish> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 27, 2021 at 02:45:56PM +0000, Ashish Kalra wrote: > Abheek Dhawan , > Johannes Weiner , > Romain Perier , > Waiman Long , > Allen Pais , > Ivan Safonov , > linux-staging@lists.linux.dev, > linux-kernel@vger.kernel.org Why is this here in the email body? > Upon running sparse, "warning: incorrect type in argument 1 (different > address spaces) is brought to notice for this file.let's correct data type for > variable data adding __user to make it cleaner and silence the Sparse > warning. This is version 2 of the patch, version 1 can be found at > https://lkml.org/lkml/2021/4/20/203 Always use lore.kernel.org links, not a random other site that we have no idea who runs it. And no need to say this in that form, please list below the --- line what changed from v1. thanks, greg k-h