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

Florian Fainelli f.fainelli at gmail.com
Thu Sep 3 23:49:30 EDT 2020



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 at gmail.com>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian



More information about the linux-arm-kernel mailing list