From: "Gilad Broner" <gbroner@codeaurora.org>
To: "Akinobu Mita" <akinobu.mita@gmail.com>
Cc: "Gilad Broner" <gbroner@codeaurora.org>,
"Jej B" <james.bottomley@hansenpartnership.com>,
"LKML" <linux-kernel@vger.kernel.org>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
linux-arm-msm@vger.kernel.org, "Santosh Y" <santoshsy@gmail.com>,
linux-scsi-owner@vger.kernel.org,
"Subhash Jadavani" <subhashj@codeaurora.org>,
"Yaniv Gardi" <ygardi@codeaurora.org>,
"Dolev Raviv" <draviv@codeaurora.org>,
"Lee Susman" <lsusman@codeaurora.org>,
"Raviv Shvili" <rshvili@codeaurora.org>,
"Vinayak Holikatti" <vinholikatti@gmail.com>,
"James E.J. Bottomley" <jbottomley@parallels.com>
Subject: Re: [PATCH v2 2/4] scsi: ufs: add debugfs for ufs
Date: Sun, 22 Feb 2015 15:00:21 -0000 [thread overview]
Message-ID: <bfd83fb637774cb3f732f926423f8b2b.squirrel@codeaurora.org> (raw)
In-Reply-To: <CAC5umyhX0peGYyh49rb9TPHK4=+s_UT6WFSTVv0cXpycAuu4kw@mail.gmail.com>
> UFSDBG_REMOVE_DEBUGFS() is not called in the driver unloading path.
> So ufs debugfs directory is not removed when unloading driver. It
> should be called in ufshcd_remove().
>
> BTW, do we really need UFSDBG_ADD_DEBUGFS() and UFSDBG_REMOVE_DEBUGFS()
> macros?
> We can use static inline functions in ufs-debugfs.h when !CONFIG_DEBUG_FS.
>
> #ifdef CONFIG_DEBUG_FS
> void ufsdbg_add_debugfs(struct ufs_hba *hba);
>
> void ufsdbg_remove_debugfs(struct ufs_hba *hba);
> #else
> static inline void ufsdbg_add_debugfs(struct ufs_hba *hba)
> {
> }
>
> static inline void ufsdbg_remove_debugfs(struct ufs_hba *hba)
> {
> }
> #endif
>
Thanks, I will fix the above two points and upload another patch.
Gilad.
--
Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2015-02-22 15:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-10 13:58 [PATCH v2 0/4] Add ioctl and debug utilities to UFS driver Gilad Broner
2015-02-10 13:58 ` [PATCH v2 1/4] scsi: ufs: add ioctl interface for query request Gilad Broner
2015-02-10 13:58 ` [PATCH v2 2/4] scsi: ufs: add debugfs for ufs Gilad Broner
2015-02-12 13:53 ` Akinobu Mita
2015-02-22 15:00 ` Gilad Broner [this message]
2015-02-10 13:58 ` [PATCH v2 3/4] scsi: ufs: add trace events and dump prints for debug Gilad Broner
2015-02-12 19:55 ` Steven Rostedt
2015-02-22 14:58 ` Gilad Broner
2015-02-10 13:58 ` [PATCH v2 4/4] scsi: ufs: inject errors to verify error handling Gilad Broner
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=bfd83fb637774cb3f732f926423f8b2b.squirrel@codeaurora.org \
--to=gbroner@codeaurora.org \
--cc=akinobu.mita@gmail.com \
--cc=draviv@codeaurora.org \
--cc=james.bottomley@hansenpartnership.com \
--cc=jbottomley@parallels.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi-owner@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=lsusman@codeaurora.org \
--cc=rshvili@codeaurora.org \
--cc=santoshsy@gmail.com \
--cc=subhashj@codeaurora.org \
--cc=vinholikatti@gmail.com \
--cc=ygardi@codeaurora.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