s3c24xx: Use devm_kcalloc() in s3c24xx_dma_probe()

SF Markus Elfring elfring at users.sourceforge.net
Sun Apr 23 06:38:42 EDT 2017


>> * A multiplication for the size determination of a memory allocation
>>   indicated that an array data structure should be processed.
>>   Thus use the corresponding function "devm_kcalloc".
> I have trouble parsing that sentences. This looks like the typical
> approach of native german speakers to directly transfer sentence
> constructions from German to English. Which, in most cases, doesn't work
> or is just plain confusing.

Do you find the following wording better to understand
if it would be presented by a script like “checkpatch.pl”?

WARNING: Prefer devm_kcalloc over devm_kzalloc with multiply


Regards,
Markus



More information about the linux-arm-kernel mailing list