Actions
Bug #1560
closedDTrace tracemem() size extension broke lint on SPARC
Start date:
2011-09-24
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
on SPARC, we got a lint warning for:
1880 if (act == DTRACEACT_TRACEMEM_DYNSIZE && 1881 rec->dtrd_size == sizeof (uint64_t)) { 1882 tracememsize = *((unsigned long long *) addr); 1883 continue; 1884 }
"../common/dt_consume.c", line 1882: warning: pointer cast may result in improper alignment (E_BAD_PTR_CAST_ALIGN)
Updated by Rich Lowe almost 11 years ago
- Difficulty changed from Medium to Bite-size
This just needs the appropriate /* LINTED */
directive, I believe.
Updated by Rich Lowe almost 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Tags deleted (
needs-triage)
Resolved in r13483 commit:f413e6c5d297
Actions