Re: lib/packing.c behaving weird if buffer length is not multiple of 4 with QUIRK_LSW32_IS_FIRST

From
Jacob Keller <jacob.e.keller@intel.com>
Date
2024-08-26 22:03:38
Reply to
Jacob Keller, 2024-08-23

On 8/23/2024 12:53 PM, Jacob Keller wrote:
I so far think the likely issue is with the way we handle the box and
mask offsets. Somehow we must be shifting things in a strange way that
causes us to discard bits, but only when we deal with the
QUIRK_MSB_ON_THE_RIGHT.

Thanks,
Jake
I eventually figured out what i believe is wrong here, and have a fix.
I'm going to include it in the series I send for using <linux/packing.h>
in the ice driver, along with the additional KUnit tests.

Thanks,
Jake
Thread (12 messages) 12 messages, 2 authors, last reply 2024-08-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help