Re: [PATCH v3 6/6] hid: add experimental access to PicoLCD device'sEEPROM and FLASH

From: Jiri Kosina
Date: Mon Mar 29 2010 - 05:44:43 EST


On Wed, 24 Mar 2010, Bruno PrÃmont wrote:

> +static ssize_t picolcd_debug_reset_open(struct inode *inode, struct file *f)
> +{
> + return single_open(f, picolcd_debug_reset_show, inode->i_private);
> +}
> +

struct file_operations->open is supposed to return int (filedescriptor),
not ssize_t.

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
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/