Re: [PATCH 1/5] CSI camera interface driver for MX1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Sparse is another tool which can be used while building the
> kernel to increase the build time checking, but it can be
> quite noisy, so please only look at stuff which pops up for
> your specific area.

To get rid of some of the warnings, you can analyze only the 
parts of the source that you're working on. You just need sparse 
in your PATH and issue:

$ make SUBDIRS=arch/arm/mach-mx2 C=2


Unfortunately, the arm tree is a bit different to mainline linux, 
because

$ make SUBDIRS=arch/arm C=2
arch/arm/Makefile:31: *** Recursive variable `KBUILD_CFLAGS' 
references itself (eventually).  Stop.
make: *** [_module_arch/arm] Error 2

breaks, with and without sparse:
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux