ilog2: return unsigned int for applicable routines
commit9401f81416f3d70e66539daf977887447b15ab46
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 15 Jun 2018 02:20:08 +0000 (14 19:20 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 15 Jun 2018 02:20:08 +0000 (14 19:20 -0700)
tree76b5ddfc30c549e1cb85dc4c4b5dab54eb20ec55
parent48fd154d1c2e643a5b71eefc3fb763a4c3407b30
ilog2: return unsigned int for applicable routines

For the routines where we can't return a negative value, return an
unsigned value.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
include/ilog2.h