From: Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
To: "Gadiyar, Anand" <gadiyar-l0cyMroinI0@public.gmane.org>
Cc: "tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
<tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"
<dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
"felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org"
<felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>,
"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] USB: musb: move musb debugfs entry under usb debugfs root dir
Date: Fri, 27 Aug 2010 10:16:42 -0700 [thread overview]
Message-ID: <20100827171642.GB19775@kroah.com> (raw)
In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB0328C1CBD0-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
On Fri, Aug 27, 2010 at 10:34:45PM +0530, Gadiyar, Anand wrote:
> tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
> >
> > From: Ming Lei <tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> >
> > All hcd's debugfs entries are under usb debugfs root dir already,
> > so musb should not be a exception.
> >
> > Signed-off-by: Ming Lei <tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > ---
> > drivers/usb/musb/musb_debugfs.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c
> > index c79a5e3..b19c31c 100644
> > --- a/drivers/usb/musb/musb_debugfs.c
> > +++ b/drivers/usb/musb/musb_debugfs.c
> > @@ -257,7 +257,7 @@ int __init musb_init_debugfs(struct musb *musb)
> > struct dentry *file;
> > int ret;
> >
> > - root = debugfs_create_dir("musb", NULL);
> > + root = debugfs_create_dir("musb", usb_debug_root);
> > if (IS_ERR(root)) {
> > ret = PTR_ERR(root);
> > goto err0;
>
> Hi,
>
> This will not work when you do not have USB Host support enabled in
> your kernel.
Then we should move the creation of usb_debug_root out into somewhere
that will work for both types of systems, right? Now where that might
be, I can't tell at the moment...
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-08-27 17:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-27 15:45 [PATCH] USB: musb: move musb debugfs entry under usb debugfs root dir tom.leiming
[not found] ` <1282923939-14872-1-git-send-email-tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-08-27 17:04 ` Gadiyar, Anand
[not found] ` <5A47E75E594F054BAF48C5E4FC4B92AB0328C1CBD0-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-08-27 17:16 ` Greg KH [this message]
[not found] ` <20100827171642.GB19775-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2010-08-28 2:56 ` Ming Lei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100827171642.GB19775@kroah.com \
--to=greg-u8xffu+wg4eavxtiumwx3w@public.gmane.org \
--cc=dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org \
--cc=gadiyar-l0cyMroinI0@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=tom.leiming-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox