From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: [PATCH, new ACPI driver] new sony_acpi driver Date: Fri, 11 Feb 2005 13:05:45 +0200 Message-ID: <84144f0205021103052b244f9@mail.gmail.com> References: <20050210161809.GK3493@crusoe.alcove-fr> Reply-To: Pekka Enberg Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050210161809.GK3493-KwDxFO93HejPHUqn3ntIkQ@public.gmane.org> Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Stelian Pop , Linux Kernel Mailing List , Andrew Morton , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Thu, 10 Feb 2005 17:18:10 +0100, Stelian Pop wrote: > +static int sony_acpi_write_brt(struct file *file, const char __user *buffer, unsigned long count, void *data) > +{ > + struct sony_snc *snc = (struct sony_snc *) data; The casts for void pointer conversiosn are spurious. Please drop them. Pekka ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click