Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1209427pxy; Sat, 1 May 2021 06:56:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycGCVdSd4t1DbtWU6d1SW8DmtRMoEDC63HPCg7E8LVISh2pgBCD7ZsZRDEZKy1NpWJIVav X-Received: by 2002:a62:3407:0:b029:242:5931:4324 with SMTP id b7-20020a6234070000b029024259314324mr10050050pfa.3.1619877409290; Sat, 01 May 2021 06:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619877409; cv=none; d=google.com; s=arc-20160816; b=PuKApbTQGGNEOYqGYt/yygIvX3clMytA0icHlKNw47fPa6/GWYgbV9nSIehJWhegGL EHW+dXdRLUW89eX0e8Np9zy4iN+HVvwmEfs70bjuFa02iOg0qk/sJ7vX6oWsaBWU4PMS Ih4eBCVGJJLOhKzBxT2XS9AWaJr/SoZ4dGIqP2Vu+pkLXZuIboBSEwMxnLwrKbKtReM0 IuiK/voB4AjkQi1+uXvhHTfxxAZ4Hj5zh/yI0nvciriUw6+FdOmt9UkhXWyKUQAn/3YR RTLHvXAixKdi3nfEyD9uWpLgevA4ru7+4Y87sSehwhTUA2igIFiGtnzR2SI6aRYziQEW nrLQ== 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:date:from:dkim-signature; bh=P4/PB+MgwhpZsD33KnvGfrSSkSWrWWTMYh1p5TuaVTA=; b=Sze9m8TSF7DVqxt6fMO5YGO2FECJlbhZLre1acr3jMIWQN3zzIqhBTK5iCpzXxbPam JwvgHLxJxIvt0bX5I/rvFiukQbLQvd+R343RQzAhFk4OAX/1Eek1y/QUaSwVkbh7imHG XxNiezqzAX8SQUQEijVQlajV7ZevOc2of2lbnkzw8HjtHvFDMFpCz7B09Y4D96T4PZxW Wm3A8n9Mk5jApJ2QIJI6WKw+0Gpf/JnJqcKnsbvvkCouCeTxcDoy92l2uxhrei83tdQt ZIeHL6rOwu7bOiznbCGHH6i9U1aiuZhtrxJ9V2V9l3j8v9xKcGF1X5QYqeGV57lAfO9F c1fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OrdyFym5; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n10si7490379pgm.501.2021.05.01.06.56.35; Sat, 01 May 2021 06:56:49 -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=@gmail.com header.s=20161025 header.b=OrdyFym5; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232167AbhEANzd (ORCPT + 99 others); Sat, 1 May 2021 09:55:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232107AbhEANzb (ORCPT ); Sat, 1 May 2021 09:55:31 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C35A7C06174A for ; Sat, 1 May 2021 06:54:40 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id m12so538393pgr.9 for ; Sat, 01 May 2021 06:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=P4/PB+MgwhpZsD33KnvGfrSSkSWrWWTMYh1p5TuaVTA=; b=OrdyFym5r6zsR5nsU2yAr7bvOBNS9J1nJJEeN2l+E3aUIpc8or4Bqv3Pl0Oq6yRoFl p8qFtYxVL3oFFCudi6Ba/um5527tr4VugP4lv1rj9a8N7ppNcb/PNesk52LHdQgz58OY eSGL4kC4Y87sCPZyTm0gqIxhR3DhF1cCAFHU/s/Hml+Z+cXyVwFktZdQk7U+fO/sZDJy 4yND8Gcj/C7CostvlbxlfqLPxbAO129LydeP09iyZ1DpplVGhMmLDG/c3T6mxeiMWlmZ sUcYHGOwptj648ciA4VehvobY6LwlkalMIew61r5MkGyN2lZEZLVXNbN4UVurrdd7PxK Orbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=P4/PB+MgwhpZsD33KnvGfrSSkSWrWWTMYh1p5TuaVTA=; b=kSi+WEDQ39puH0ceJo6e8DdfRVThFq+vmjqX9MYYMuwb18UYQP4M4kYanecU7qPHEN dtIwD4SPl+QHeziDHQcpb9lpBWAF5UdGLlOIDqaCrDmxdlgnF3qU77c2BthZdHJQvov7 GfikfvSX3B6vTEgYFzmbGWRZL8XqN3uYEz0p+FRLXb3A0tDZ5p1/3iFxMm6+uImB5aSk O5kxTsdeLXouKt/JYcvzPfLOBUHznCZPLxBFqsax0zXAF+uJvcxYy1ET377EpwEZ09ix /RQCdhUUkPa2UMqiWjopXnyqoOZyfEsZ8/Zm/0JoRyzwrR1XWkKKXGK3Hp1FI3MpCf/R sgig== X-Gm-Message-State: AOAM531CFmZbIVqO9s8FSJHmTE0mt1obC4NKE4Ct4USMdmSHqquF0NbH 2d2pURrJBDimp/+rGFINngM= X-Received: by 2002:a62:de01:0:b029:28d:572f:45c8 with SMTP id h1-20020a62de010000b029028d572f45c8mr5791023pfg.67.1619877280195; Sat, 01 May 2021 06:54:40 -0700 (PDT) Received: from ashish-NUC8i5BEH ([122.177.225.134]) by smtp.gmail.com with ESMTPSA id u13sm5512465pgm.41.2021.05.01.06.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 May 2021 06:54:39 -0700 (PDT) From: Ashish X-Google-Original-From: Ashish Date: Sat, 1 May 2021 19:24:32 +0530 To: Greg Kroah-Hartman Cc: Ashish Kalra , Ivan Safonov , Abheek Dhawan , Andrew Morton , Waiman Long , Pritthijit Nath , Allen Pais , 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) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 01, 2021 at 02:23:12PM +0200, Greg Kroah-Hartman wrote: > On Sat, May 01, 2021 at 05:09:28PM +0530, Ashish Kalra wrote: > > Currently p80211knetdev_do_ioctl use type casting to req->data to prevent sparse warning while calling memdup_user, instead of type casting it here, its better to change data type for data inside p80211ioctl_req to include __user. > > Please properly line-wrap your changelog comments. > > Can you fix it up and resend it as v3? > > thanks, > > greg k-h Thanks Greg for your feedback Kindly ignore v3 and review v4, i have modified it as pe your feedback