On 8/28/24 22:45, Manisha Singh wrote:Sure, will do that.
Calculate the size from the pointer instead of structHi Manisha,
the first line of the description is good. Please just add the why (to adhere to kernel coding style?) and the "." to make it a full sentence.
Omit the next two lines.
CHECK: Prefer kmalloc(sizeof(*pintf_hdl->pintfpriv)...) over
kmalloc(sizeof(struct intf_priv)...)
Thanks for your support.
Bye Philipp