Commit Graph
12 Commits
Author SHA1 Message Date
Ed Cashin 6e9766317f Documentation/sparse.txt: document context annotations for lock checking
The context feature of sparse is used with the Linux kernel sources to
check for imbalanced uses of locks.  Document the annotations defined in
include/linux/compiler.h that tell sparse what to expect when a lock is
held on function entry, exit, or both.

Signed-off-by: Ed Cashin <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Acked-by: Christopher Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2012-12-17 17:15:23 -08:00
Pavel Machek a2531293db update email address
[email protected] no longer works, replace it with working address.

Signed-off-by: Pavel Machek <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
2010-07-19 10:56:54 +02:00
Bill Pemberton 05be7a868e doc: Change urls for sparse
The location of the sparse web page and git tree were no longer
valid.  This changes them to point to the current versions.

Signed-off-by: Bill Pemberton <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
2010-04-27 22:59:07 +02:00
Sam Ravnborg 20375bf825 Documentation: explain the difference between __bitwise and __bitwise__
Simply added explanation from Al Viro in the following mail:
http://lkml.indiana.edu/hypermail/linux/kernel/0802.2/3164.html

Cc: Al Viro <[email protected]>
Cc:  Randy Dunlap <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
2009-04-11 08:18:11 +02:00
Geert Uytterhoeven a887a07d51 kbuild: sparse needs CF not CHECKFLAGS
Documentation/sparse.txt tells to use:

    make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__"

However, this still doesn't enable endian checks. The correct syntax is:

    make C=2 CF="-D__CHECK_ENDIAN__"

This documentation bug was introduced by the following commit:

    commit 1c7bafe720
    Author: Robert P. J. Day <[email protected]>
    Date:   Wed Sep 13 07:57:50 2006 -0400

	kbuild: clarify "make C=" build option

	Clarify the use of "make C=" in the top-level Makefile, and fix a
	typo in the Documentation file.

	Signed-off-by: Sam Ravnborg <[email protected]>

This `typo' was not a typo, as `CF' had been introduced much earlier, by:

    commit 7b49bb9aff
    Author: [email protected] <[email protected]>
    Date:   Fri Sep 9 21:14:35 2005 +0100

	[PATCH] kbuild: CF=<arguments> passes arguments to sparse

	Allows to add to sparse arguments without mutilating makefiles - just
	pass CF=<arguments> and they will be added to CHECKFLAGS.

    Signed-off-by: Al Viro <[email protected]>
    Signed-off-by: Sam Ravnborg <[email protected]>

Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
2008-07-25 22:12:39 +02:00
Dave Jones a55028ff74 [PATCH] update 'getting sparse' info.
- point to the sparse webpage
 - use git:// instead of rsync://

Signed-off-by: Dave Jones <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-03-08 16:47:58 -08:00
Robert P. J. Day 1c7bafe720 kbuild: clarify "make C=" build option
Clarify the use of "make C=" in the top-level Makefile, and fix a
typo in the Documentation file.

Signed-off-by: Sam Ravnborg <[email protected]>
2006-09-25 10:10:56 +02:00
Bob Copeland e83319510b [PATCH] docs: update sparse.txt with CHECK_ENDIAN
Update the sparse documentation to omit the -Wbitwise flag example (as it
is now passed by default), and document the kernel defines to enable
endianness checking.

Signed-off-by: Bob Copeland <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2006-06-23 07:43:09 -07:00
Alexey Dobriyan 55032eacdb [PATCH] Documentation/sparse.txt: mention CF=-Wbitwise
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2005-11-07 07:53:54 -08:00
Harald Welte 86513e726b [PATCH] documentation: sparse no longer uses bk, but git
Signed-off-by: Harald Welte <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2005-09-23 13:35:37 -07:00
Ben Dooks e272d50688 [PATCH] Documentation/sparse snapshot URL
The URL for Documentation/sparse is wrong now that it is in git.

Signed-off-by: Ben Dooks <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2005-09-09 14:03:44 -07:00
Linus Torvalds 1da177e4c3 Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
2005-04-16 15:20:36 -07:00