| 4e4d812d | 03-Jan-2024 |
Aaron LI <aly@aaronly.me> |
mbuf(9): Add assertion of 'offset == 0' for m_devget()
As commented above the m_devget() function, the 'offset' argument is ill-defined and unused; all callers should specify 0 for it. So add an as
mbuf(9): Add assertion of 'offset == 0' for m_devget()
As commented above the m_devget() function, the 'offset' argument is ill-defined and unused; all callers should specify 0 for it. So add an assertion for that.
Meanwhile, fix two callers that didn't satisfy this.
show more ...
|