2023-09-15 04:26:01

by Maciej Żenczykowski

[permalink] [raw]
Subject: Re: [RFC] usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call

Reviewed-by: Maciej Żenczykowski <[email protected]>

The casts should probably use the actual correct ptr type instead of void*

Feels like this should go to stable@


2023-09-15 07:14:11

by Krishna Kurapati

[permalink] [raw]
Subject: Re: [RFC] usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call



On 9/15/2023 6:54 AM, Maciej Żenczykowski wrote:
> Reviewed-by: Maciej Żenczykowski <[email protected]>
>
> The casts should probably use the actual correct ptr type instead of void*
>

Hi Maciej Żenczykowski,

Thanks for the review.

I initially tried to typecast it to char* since the skb->data is of that
type. But nothing was working. So I kept it void* since the initial
variable tmp too was kept to void*

Will add the stable and review tag as well and send v2 to be merged.

Regards,
Krishna,