checkpatch: complain about ffs(3) calls
commit8b6ee9aeb3f0508ed2a41381cde13bdb8707b7be
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 23 Mar 2015 15:29:31 +0000 (23 15:29 +0000)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Apr 2015 13:36:08 +0000 (28 15:36 +0200)
tree345ea7082dc13865eb1341a519e23c61612b55b3
parentf450a85899585776ccd0913d2361dd8f82666e44
checkpatch: complain about ffs(3) calls

The ffs(3) family of functions is not portable.  MinGW doesn't always
provide the function.

Use ctz32() or ctz64() instead.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1427124571-28598-10-git-send-email-stefanha@redhat.com
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
scripts/checkpatch.pl