Messages in this thread | | | Subject | Re: [PATCH] PM / Domains: add debugfs listing of struct generic_pm_domain-s | From | Maciej Matraszek <> | Date | Thu, 11 Sep 2014 18:52:48 +0200 |
| |
Hi Al!
On śro, 2014-09-10 at 20:18 +0100, Al Viro wrote: > 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?
Nowhere, thanks! (Just a mindless copy-paste from clk_summary_open().)
Regards, -- Maciej Matraszek Samsung R&D Institute Poland Samsung Electronics
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |