Re: [PATCHSET] nfs endianness annotations
From: Randy Dunlap
Date: Thu Oct 19 2006 - 19:20:46 EST
On Thu, 19 Oct 2006 16:32:02 +1000 Neil Brown wrote:
> On Thursday October 19, grant_lkml@xxxxxxxxxxx wrote:
> > On Thu, 19 Oct 2006 02:26:00 +0100, Al Viro <viro@xxxxxxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/