Prev: [PATCH] drivers/macintosh: Correct potential double free
Next: Allow Intel platforms to declare unsynchronized TSC to kernel
From: Jiri Kosina on 29 Mar 2010 05:50 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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |