Re: [PATCH v2 03/11] usb: gadget: bdc: prefer pointer dereference to pointer type

From: Florian Fainelli
Date: Thu Sep 03 2020 - 23:49:42 EST




On 8/20/2020 4:30 AM, Chunfeng Yun wrote:
Prefer kzalloc(sizeof(*bd_table)...) over
kzalloc(sizeof(struct bd_table)

Cc: Florian Fainelli <f.fainelli@xxxxxxxxx>
Signed-off-by: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian