[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-arm-kernel/attachments/20210113/d7f338ea/attachment.sig>


More information about the linux-arm-kernel mailing list