Re: [PATCHSET] nfs endianness annotations

Randy Dunlap
2006-10-19T23:20:30Z

On Thu, 19 Oct 2006 16:32:02 +1000 Neil Brown wrote:

> On Thursday October 19, grant_lkml@dodo.com.au wrote:
> > On Thu, 19 Oct 2006 02:26:00 +0100, Al Viro <viro@ftp.linux.org.uk> wrote:
> >
> > >Folks, seriously, please run sparse after changes; it's a simple matter of
> > >make C=2 CF=-D__CHECK_ENDIAN__ fs/nfs*/; nothing tricky and it saves a lot
> > >of potential PITA...
> >
> > grant@sempro:~/linux/linux-2.6.19-rc2a$ make C=2 CF=-D__CHECK_ENDIAN__ fs/nfs*/;
> > CHK include/linux/version.h
> > CHK include/linux/utsrelease.h
> > CHECK scripts/mod/empty.c
> > /bin/sh: sparse: command not found
> > make[2]: *** [scripts/mod/empty.o] Error 127
> > make[1]: *** [scripts/mod] Error 2
> > make: *** [scripts] Error 2
> >
> > What sparse? Pointer please? Hell of a keyword to search for :(
> >
> > Thanks,
> > Grant.
>
> git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git
> cd sparse
> make
> make install
>
>
> Of course you need git first ... not "GNU Interactive Tools", but
> Linus' SCM. Most distros have it.

another easy way to get sparse is to grab the latest tarball
snapshot from http://www.codemonkey.org.uk/projects/git-snapshots/sparse/
then
make; make install # installs into ~/bin, no root required

---
~Randy