]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Documentation/sparse: drop __bitwise__
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 11 Dec 2016 04:28:41 +0000 (06:28 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 22:13:40 +0000 (00:13 +0200)
We dropped __CHECK_ENDIAN__ so __bitwise__ is now an implementation
detail. People should use __bitwise everywhere.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Documentation/dev-tools/sparse.rst

index 8c250e8a2105555b99fb6e647852c3300a9f61cf..e08e6a8effba3f7679827d059649ab044a690903 100644 (file)
@@ -51,13 +51,6 @@ sure that bitwise types don't get mixed up (little-endian vs big-endian
 vs cpu-endian vs whatever), and there the constant "0" really _is_
 special.
 
-__bitwise__ - to be used for relatively compact stuff (gfp_t, etc.) that
-is mostly warning-free and is supposed to stay that way.  Warnings will
-be generated without __CHECK_ENDIAN__.
-
-__bitwise - noisy stuff; in particular, __le*/__be* are that.  We really
-don't want to drown in noise unless we'd explicitly asked for it.
-
 Using sparse for lock checking
 ------------------------------