On Wed, 24 Mar 2010, Bruno Prémont wrote:
quoted hunk ↗ jump to hunk
+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.