Re: [PATCHSET] nfs endianness annotations

Neil Brown
2006-10-19T06:32:15Z

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.

NeilBrown