Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753360AbbLKKdR (ORCPT ); Fri, 11 Dec 2015 05:33:17 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:38033 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751319AbbLKKdQ convert rfc822-to-8bit (ORCPT ); Fri, 11 Dec 2015 05:33:16 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] staging: gdm72xx: fix address space parse warnings From: Okash Khawaja X-Mailer: iPhone Mail (11A501) In-Reply-To: <20151202131724.GT18797@mwanda> Date: Fri, 11 Dec 2015 10:33:13 +0000 Cc: "gregkh@linuxfoundation.org" , "jonathankim@gctsemi.com" , "deanahn@gctsemi.com" , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" Content-Transfer-Encoding: 8BIT Message-Id: <8BABCAB1-200C-49CB-BF4F-9CF7C09FFD56@gmail.com> References: <20151129204044.GA8079@bytefire-computer> <20151202131724.GT18797@mwanda> To: Dan Carpenter Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 22 Thanks, that's a cleaner approach. Apologies for delayed reply as I'm in middle of a house move. I'll send an updated patch soon. Okash > On 2 Dec 2015, at 13:17, Dan Carpenter wrote: > > 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/