Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1045297AbdDWMg6 (ORCPT ); Sun, 23 Apr 2017 08:36:58 -0400 Received: from mout.web.de ([212.227.15.14]:64353 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756368AbdDWMgz (ORCPT ); Sun, 23 Apr 2017 08:36:55 -0400 Subject: Re: s3c24xx: Use devm_kcalloc() in s3c24xx_dma_probe() To: Tobias Jakobi , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Dan Williams , Javier Martinez Canillas , Krzysztof Kozlowski , Kukjin Kim , LKML , kernel-janitors@vger.kernel.org References: <930f0a6c-bc5c-3d01-6814-563780fc90ef@users.sourceforge.net> <9c10b823-f49b-8c73-2bf8-0fd2b0ba0231@users.sourceforge.net> <02134825-fec7-73d7-2eb6-b510eaaf3b08@users.sourceforge.net> <49f1c0b2-7463-2121-1aed-0998f6635c92@math.uni-bielefeld.de> From: SF Markus Elfring Message-ID: <947cea53-0373-f756-d73b-030c9b77e2d0@users.sourceforge.net> Date: Sun, 23 Apr 2017 14:36:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:tJki4QZAiu892iQS9P79SI1Ic0qA69Vvol3sH6wAnfAQha2wVeU MEjaGzBZ4vf3jfuTTHstw6QzJywZL6T4zzkr4AiDPESr5Fq0qUZS3PEXcgSEi/vWebY3Uvo vCjSY6i8CZmrNZM3vSEqSsJ3AR3kMQlhQpr3JaKZb+ClRAVC+2//p1Hl1FQ3jibvFhjXWsS 4ofirBJl3I5H+4IpTXpMg== X-UI-Out-Filterresults: notjunk:1;V01:K0:yhFvLVzSXdM=:CxdA7Q3zy7m+3y1t/ZA8EG gsEwwPKs4alDrzlJ43QKQiZ3pwx7HIDRCO16R2EMkz1P8/EQY1lXHmJ2r2ESKmVeqkZk3phzl 0y/gPgDhPA1yr10g784IRD6HKlfWOjmhBaWcTlDbUkbSArDB9QR32lvKs6BxSPyI2IOSd1SU0 NFV2hYYbWAEJBKGc/uHlcY4xWBcuLkbBvMGzIsJHfyxJL1uVpSw/E0aqvcGxoRvWCI9R4AiMO T0SzryQ+PsaV6W3U26PJMbuKOrHyoLUPBmQzuOIZcI8mMtXbQ3NoTv0BcVk6jSF0cxTkwylFS TSPZ6JnawBqrlfu+6nrZrlVpNG36Rc8x08FWsosfu/Ig7QdP6jovhGqA2kr6goTapDrj5Wadk 3bFz2FoGub3Au9EDPEojUvoUZ3/JIeENJBMacoatbXMBuJBeTq86ZcHgq9bs0CzgeXgtF4S4Y 1VbOrIUbl3zJ+eXLkN74Iv9dyjr8MH+vq0G/nUGEXghXiSkbxGTZHOUGitnPGX7gHBUQFdlK8 LGsY3kZKfU2kOqjshgo5j3F7FJAtjyr2Jguq9rxTY7FwVINvMb7v/3lIhsXi4bk9s9YRAmYFT PzL+D9bG8myKSeOyDdLF2ku2a5Cj+VpbV5cZExIioAjsOlfGF2Wuv4Niw2h/RkusHq7UpKqRQ F+ZO9rXCIUW9tv12O56mxQwG65d5bEJEZB0ZfbVaBOWIBEtPrDDiyToVsbJUD1VTNAy52J1nO VtC6gPh/Adlz0sOINw1sRd3w+5lh6HCpSGK3EWHRyBDlQfjwCoiO9kE4ZpHV6h63TZTO3jtn9 LdzNMdn Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1203 Lines: 43 >> Its implementation of the check “ALLOC_WITH_MULTIPLY” considers only an other >> search pattern so far. >> >> * Do you find it worthwhile to add a prefix like “devm_” to the used >> regular expression? >> >> * Would like to improve any related scripts for the semantic patch language >> (Coccinelle software) a bit more? > I don't understand why you're asking this. Software developers and code reviewers have got different opinions about such checks and their relevance. > I'm talking about the _output_ of checkpatch, This information is clear at first glance. > not about the script itself. But it will not provide the warning you might be looking for while you seem to find my source code analysis approach and notifications improvable. I assume that you might be interested in corresponding extensions for the involved search patterns. > But undoubtedly your patch is motivated by the output of said tool. This tool implemented some checks. > Hence you should mention that. Additional tools take also care for similar software development concerns, don't they? Can it be appropriate to omit the reference to only one Perl script for related use cases? Regards, Markus