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

Jiri Kosina
2010-03-29T09:44:38Z

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.