diff options
| author | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2023-04-21 07:50:16 +0000 |
|---|---|---|
| committer | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2023-05-02 12:21:35 +0000 |
| commit | e7a3a08febd01c95b74185bb971ec29cca64b8e1 (patch) | |
| tree | 0a8b6e10d7c94c9e26c029c5dab8abfa2bff17a4 /RELNOTES | |
| parent | 5c4e8a6310973f22eb76835f1b0d5ba5dd9df2f7 (diff) | |
mpr: fix copying of event_mask
Before the commit 6cc44223cb6717795afdac4348bbe7e2a968a07d the
field event_mask was fully copied to the EventMasks field.
After this commit the event_mask (uint8_t) is 4 times casted to
EventMask (uint32_t). Because of that 24 bits of each event_mask array
is lost.
This commits brings back simple copying of field, and after words
converting 32 bits field to the requested endian.
I don't think we need more sophisticated method,
as the array is of size 4 (for 32 bits version).
Reviewed by: imp
MFC after: 1 week
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D39562
(cherry picked from commit ea6597c38c77c7bfaae71259d8636cbb89add6a3)
Diffstat (limited to 'RELNOTES')
0 files changed, 0 insertions, 0 deletions
