[Linux-stm32] [PATCH] Fix invalid use of sizeof in stm32_sai_add_mclk_provider()

Mark Brown broonie at kernel.org
Wed Nov 28 12:38:28 UTC 2018


On Tue, Nov 27, 2018 at 08:35:20PM +0800, Wen Yang wrote:
> sizeof(mclk) is 4 or 8 as it is the size of a pointer,
> but we want to reserve space for the pointed data.
> This issue was detected by using the Coccinelle software.

Please use subject lines matching the style for the subsystem.  This
makes it easier for people to identify relevant patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20181128/0e0f4883/attachment.sig>


More information about the Linux-stm32 mailing list