From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC588C433B4 for ; Tue, 27 Apr 2021 16:11:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 74714613DD for ; Tue, 27 Apr 2021 16:11:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234870AbhD0QLS (ORCPT ); Tue, 27 Apr 2021 12:11:18 -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