Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758185AbbLBNSD (ORCPT ); Wed, 2 Dec 2015 08:18:03 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:44874 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756555AbbLBNSA (ORCPT ); Wed, 2 Dec 2015 08:18:00 -0500 Date: Wed, 2 Dec 2015 16:17:24 +0300 From: Dan Carpenter To: Okash Khawaja Cc: gregkh@linuxfoundation.org, jonathankim@gctsemi.com, deanahn@gctsemi.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: gdm72xx: fix address space parse warnings Message-ID: <20151202131724.GT18797@mwanda> References: <20151129204044.GA8079@bytefire-computer> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151129204044.GA8079@bytefire-computer> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 382 Lines: 16 Probably it's better to create a different struct: struct udata_s { unsigned int size; void __user *buf; }; regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/