Skip to content
Snippets Groups Projects
Commit 9536099a authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

Documentation/sparse: drop __bitwise__


We dropped __CHECK_ENDIAN__ so __bitwise__ is now an implementation
detail. People should use __bitwise everywhere.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 376a5fb3
No related branches found
No related tags found
No related merge requests found
...@@ -51,13 +51,6 @@ sure that bitwise types don't get mixed up (little-endian vs big-endian ...@@ -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_ vs cpu-endian vs whatever), and there the constant "0" really _is_
special. 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 Using sparse for lock checking
------------------------------ ------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment