- Avoid unnecessary indirection.
- Avoid bit fields.
- Use __packed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c | ||
---|---|---|
131 โ | (On Diff #17085) | volatile is not needed here since msg pointer will not change out of this context. |
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c | ||
---|---|---|
131 โ | (On Diff #17085) | It will be updated by the host, so we need to make sure that compiler don't over-optimize the msg accessing. |