ztest: fix compliance issue
Check compliance flagged an UNNESSARY_INT error. Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
parent
b75c59115f
commit
d8bc125469
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ int snprintk(char *str, size_t size, const char *fmt, ...)
|
||||||
* FIXME: move to sys_io.h once the argument signature for bitmap has
|
* FIXME: move to sys_io.h once the argument signature for bitmap has
|
||||||
* been fixed to void* or similar GH-2825
|
* been fixed to void* or similar GH-2825
|
||||||
*/
|
*/
|
||||||
#define BITS_PER_UL (8 * sizeof(unsigned long int))
|
#define BITS_PER_UL (8 * sizeof(unsigned long))
|
||||||
#define DEFINE_BITFIELD(name, bits) \
|
#define DEFINE_BITFIELD(name, bits) \
|
||||||
unsigned long(name)[DIV_ROUND_UP(bits, BITS_PER_UL)]
|
unsigned long(name)[DIV_ROUND_UP(bits, BITS_PER_UL)]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue