linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: m silverstri <michael.j.silverstri@gmail.com>
Cc: linux-sparse@vger.kernel.org
Subject: Re: How to run sparse tool?
Date: Thu, 13 Mar 2014 19:00:31 +0100	[thread overview]
Message-ID: <20140313180031.GA6144@ravnborg.org> (raw)
In-Reply-To: <CABMudhRd=YmZbPURf27cKiJKYLswZCGoMqoxvXqu3DeGT7k_7g@mail.gmail.com>

Hi Michael.

On Thu, Mar 13, 2014 at 09:49:48AM -0700, m silverstri wrote:
> Hi,
> 
> I read http://kernelnewbies.org/Sparse and try to run sparse tool.
> 
> As a test, I run it on raspberry-pi/linux code base, by doing " make
> C=2 drivers/staging/wlan-ng/", what I get is it asks me a list of
> configuration question and it does not run sparse for me. How can I
> bypass this setting up configuration and run sparse for the code?

You cannot build the kernel source before the kernel is properly configured.
You can use one of the shortcuts if you just want to build test this:

    make allyesconfig

       or

   make allmodconfig

This will configure your kernel and allow you to build the wlan-ng/
drivers.
And when you can build the drivers then you can also run sparse.

	Sam

  reply	other threads:[~2014-03-13 18:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 16:49 How to run sparse tool? m silverstri
2014-03-13 18:00 ` Sam Ravnborg [this message]
2014-03-13 18:54   ` m silverstri
2014-03-13 21:23     ` Sam Ravnborg

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=20140313180031.GA6144@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-sparse@vger.kernel.org \
    --cc=michael.j.silverstri@gmail.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).