Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1153828pxy; Sat, 1 May 2021 05:24:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvfMWC+VAO6u7xnz/YwzmywsckfsP2wGhj3jKAT7eRb8jZN3w6adVDJOANoPBbvBKvDofP X-Received: by 2002:a63:5562:: with SMTP id f34mr9235061pgm.391.1619871844587; Sat, 01 May 2021 05:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619871844; cv=none; d=google.com; s=arc-20160816; b=qibp3dAaQniGRYMNAWLFBuEn1i2B3XziLVDJVbyx5aH0S2tUr2o3oCDO74l8cNbvkl +jHzNrGWITBxV1dZDtxVDJPHLxEOVdQQDmHsEpqWNPE29YwocFJhhKo/CbPcxI9zzYsv z6Eoxh6nN++JBidWeMT9mGUXJTwoMo3VC6Y7Qs9A61vEsR0a5QC73CUl5vR/ww3kNhBl IwjRfOMRLDDrxYOVjf98qWQxU1A9VaTDR6c3uIY3NCfueB9mq0z1WZ+nR/dtmCoyu/3t DaXiUThHXmemOHBIGZo0VB9WiHHNOIOe/of5JDqxrmZ+OD/4lv6qEA++00YsTrGRX41/ 1sbw== 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=IsCKUsoaFkNF0OuX9NN16ruS+Rs+wIjJ1sC465dv+ss=; b=Ba7Z25Emkl51kw2ZSbciBSrmgiWMEqCcfczUdjUJlqTARXNwje6PMWEgF4DxkT8pyG jij4Lxw66m2fpZdK7S9WDJ2/+PsH6AZbA95aEXrjvA2SYsNxDJbQMmohUmp2LdQCdMlr wizPvBPk7LYbJd+lavxlH5mDHEWqaD0MFDwMdXOT+xLo0Ss8oqQdO6hsnRupqLnYoM0y q4uwhjgz8oys4HKYlj46R+4O2jbH3rtQJO3LYopwDwZj8b03OBlLrQFH1Aw1s3V1BnfM RnZOG1AuVvnCvqF3USLlxdc3rZ9iUvdI+eBBR8gFwPSGEQNIrOInXOmvHJReUvd7WA0n ROOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VrUvaZII; 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 q20si6927034plr.100.2021.05.01.05.23.49; Sat, 01 May 2021 05:24:04 -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=VrUvaZII; 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 S231994AbhEAMYI (ORCPT + 99 others); Sat, 1 May 2021 08:24:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:51806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231960AbhEAMYF (ORCPT ); Sat, 1 May 2021 08:24:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 83BB361409; Sat, 1 May 2021 12:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619871795; bh=IsCKUsoaFkNF0OuX9NN16ruS+Rs+wIjJ1sC465dv+ss=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VrUvaZIIpBrfM8muwRro4KSxyB0Mzsqk01yyP6fxljWk+3gydENOCBECUqia5mQ5z PeImyO+f4Kw4I8A8+ye3FWfwyC+x00NkBXCFj/8kzuQx1UHYtriIwDtR0SVy32So4h bnRXLZi8T4FRwUZQqCbOOZnZO4iu3f7vsGkt4/Go= Date: Sat, 1 May 2021 14:23:12 +0200 From: Greg Kroah-Hartman To: Ashish Kalra Cc: 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 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