Re: [PATCH] PM / Domains: add debugfs listing of struct generic_pm_domain-s

From: Al Viro
Date: Wed Sep 10 2014 - 15:18:36 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/