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

Felipe Balbi balbi at kernel.org
Wed Jan 13 03:41:59 EST 2021


Chunfeng Yun <chunfeng.yun at mediatek.com> writes:

> 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>

Acked-by: Felipe Balbi <balbi at kernel.org>

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 857 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20210113/d7f338ea/attachment-0001.sig>


More information about the Linux-mediatek mailing list