Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 78296 Build 75179: arc lint + arc unit
Event Timeline
| sys/dev/bxe/bxe_stats.c | ||
|---|---|---|
| 33 | It can be sizeof(long) * CHAR_BIT and use only standard C. | |
| sys/dev/bxe/bxe_stats.c | ||
|---|---|---|
| 33 | We already use __SIZEOF_LONG__ elsewhere, though there is also __CHAR_BIT__ when this is used in the LinuxKPI bitops.h. Looks like some place also use sizeof(long) and also use NBBY. | |
| sys/dev/bxe/bxe_stats.c | ||
|---|---|---|
| 33 | I thought we were generally standardizing on SIZEOF_LONG since it's on all compilers we can build the kernel with for a while now. And it can be trivially be provided in the build glue for people porting. (rather than having to play whack-a-mole with all the other symbols). | |