On Wed, Sep 10, 2014 at 01:28:56PM +0200, Maciej Matraszek wrote:

> +static int pm_genpd_summary_open(struct inode *inode, struct file *file)
> +{
> +     return single_open(file, pm_genpd_summary_show, inode->i_private);
                                                        ^^^^^^^^^^^^^^^^
                                                        what for?

Where in pm_genpd_summary_show() are you using ->private?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to