On Fri Dec 12, 2025 at 11:12 AM EST, Damien RiƩgel wrote:
+/**
- cpc_cport_unpack() - Unpack CPort ID from Greybus Operation Message header.
- @gb_hdr: Greybus operation message header.
- Return: CPort ID packed in the header.
- */
+u16 cpc_cport_unpack(struct gb_operation_msg_hdr *gb_hdr) +{
- return get_unaligned_le16(gb_hdr->pad);
+}
We probably want to clear the packing from the `gb_hdr`, just like it is done in the es2 driver.
Thanks,