linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: viresh kumar <viresh.kumar@st.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	"sshtylyov@mvista.com" <sshtylyov@mvista.com>
Subject: Re: [PATCH Resend] ATA: Debugging options for the ATA subsystem
Date: Tue, 26 Jul 2011 09:23:02 +0530	[thread overview]
Message-ID: <4E2E3A1E.4000708@st.com> (raw)
In-Reply-To: <4E2B4879.7000903@pobox.com>


Hi Jeff,

On 07/24/2011 03:47 AM, Jeff Garzik wrote:
>> > +config ATA_DEBUG
>> > +        bool "ATA debugging"
>> > +        help
>> > +          This is an option for use by developers; most people should
>> > +          say N here.  This enables ATA core and driver debugging.
>> > +
>> > +config ATA_VDEBUG
>> > +        bool "ATA verbose debugging"
>> > +        depends on ATA_DEBUG
>> > +        help
>> > +          This is an option for use by developers; most people should
>> > +          say N here.  This enables deeper (more verbose) debugging of
>> > +          the ATA core and drivers.
>> > +
> There does not seem to be a large, driving need for this.  It is 
> straightforward to update the header file for the esoteric, voluminous 
> debugging.
> 

When i was debugging my code earlier, i found this more useful and
convenient over editing headers. We may need to do this in several
header files, if we don't have common header for two source files.
Also, having this as config option would be more helpful for people
who don't have much knowhow of "how dev_dbg and dev_vdbg works".

> If you are missing critical hardware or software errors, that is an 
> argument that those error messages should be outside of DEBUG/VDEBUG, 
> shipped with every kernel.

That's not my case. I wanted to print debug info.

-- 
viresh

      reply	other threads:[~2011-07-26  4:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09  3:56 [PATCH Resend] ATA: Debugging options for the ATA subsystem Viresh Kumar
2011-07-23 22:17 ` Jeff Garzik
2011-07-26  3:53   ` viresh kumar [this message]

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=4E2E3A1E.4000708@st.com \
    --to=viresh.kumar@st.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=sshtylyov@mvista.com \
    /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;
as well as URLs for NNTP newsgroup(s).