]> Git Repo - linux.git/commit
linux/types.h: enable endian checks for all sparse builds
authorMichael S. Tsirkin <[email protected]>
Thu, 8 Dec 2016 02:19:29 +0000 (04:19 +0200)
committerMichael S. Tsirkin <[email protected]>
Thu, 15 Dec 2016 22:13:39 +0000 (00:13 +0200)
commit05de97003c773e7881e4df3f767b81a6508107f2
treede65d995013e8a0851749f0841e370fa92c22c63
parentcecdbdc3771e5b8583a9b43b03335b4223a9a6c9
linux/types.h: enable endian checks for all sparse builds

By now, linux is mostly endian-clean. Enabling endian-ness
checks for everyone produces about 200 new sparse warnings for me -
less than 10% over the 2000 sparse warnings already there.

Not a big deal, OTOH enabling this helps people notice
they are introducing new bugs.

So let's just drop __CHECK_ENDIAN__. Follow-up patches
can drop distinction between __bitwise and __bitwise__.

Cc: Linus Torvalds <[email protected]>
Suggested-by: Christoph Hellwig <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
include/uapi/linux/types.h
This page took 0.047468 seconds and 4 git commands to generate.