Re: [PATCH, new ACPI driver] new sony_acpi driver

From: Pekka Enberg
Date: Fri Feb 11 2005 - 06:06:58 EST


On Thu, 10 Feb 2005 17:18:10 +0100, Stelian Pop <stelian@xxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/