Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751180AbdH1HJi (ORCPT ); Mon, 28 Aug 2017 03:09:38 -0400 Received: from mout.web.de ([217.72.192.78]:61148 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750767AbdH1HJg (ORCPT ); Mon, 28 Aug 2017 03:09:36 -0400 Subject: Re: connector: Delete an error message for a failed memory allocation in cn_queue_alloc_callback_entry() To: Peter Waskiewicz Jr , "netdev@vger.kernel.org" Cc: Evgeniy Polyakov , LKML , kernel-janitors@vger.kernel.org References: <7b206228-b3e9-5cb9-873c-75b5d8aae23b@users.sourceforge.net> From: SF Markus Elfring Message-ID: <11fc2d4e-bcf4-9a1c-6d73-2e67aab2a1ed@users.sourceforge.net> Date: Mon, 28 Aug 2017 09:09:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 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:Kwz1Zd+M/KFF8RRWrXjI8IC3OfRkyUfhp47/HEbXNEBTtM46lkT olMwq/zd6N52keCUgJpDT3fBZw94fc0su4Mdi4bXJDgzwZZt8tzBIIEYmgKjQKzWNbdxYDw Ws5ZaSezhTVVLd+qn45B7tghzk+5pDSLGAeA9KUq5wqiMQkSDaA2NkeAANIz49u956lXww9 FsPx6jAoWbXlx+P26ZGYA== X-UI-Out-Filterresults: notjunk:1;V01:K0:f+FtgxoACjM=:mPsL+vYkivo/Ezz/VEW8B6 R5uFZz/NAoRWVSKhLo/TOE1bLzAn622nY03YDbBCiruUCn4KYuJpiWK/MdOZhA6J0vjLsZ/Yy uGJqHsp0+LbuImuDVXWzaJe128mqcT1zw4yD8F4X8+ftwDBY8iZ4NrkblsBqWVauFX9E9mAQV 7SySZq8Y6KzuVmcZ5ILLDvrL5QKW06Mz+7LiZ40OlvKC+7Fty+BH1IcJqUihH6HdAbUZMBn7X eDZ57W4BNBthxkNRMZ2SvVkZRqyN3ixSMfxkU5b2c2dsEuhCXRxTqeyC9MHq1BEpBNsFm0edD fPFZP7Z5XUhJpLSmBFNhHENl2pvoJ7GUTQdWG1BuplK5fnzzS4gVXvJ5CjY8y4M9OluCL+A9e wqRBGlvTYWFUoVpgrsHzTAQI1jXAQF01JOdVneTs+V7zCIaalwTlb1Who0vSdJ8KeTNHRtGeW izJb0q5sZdr0sZc6FebZNNhtpm45m2ebMigFeUuVM1lLhOlmNkF77/+/WJG1J3rc+ZbaSWpPr F/cQ1ZJd/fBTE7dD2FUg8rYz9lg30Ti3JVbDyNqmp4ehGo84VnAJgqWUboFbzKPAVSa45aUyh vyNKASHxinLPpO0U65PyWWQxmE9X64ybffaZs5kwkOR+zhI4dwdp1n+TsEkc7c1ECFEPaQtab alva39Vdz6BnpVGnXOVwtPF/8TeE/MSGBdc4jCPBEAtuXYlPwABJgQPIMjWuiCLK4uGY+q+SU v1XYOlmvgTLg4IXtEmyjJSCj6AECm/IeXwmiFCMu/1ahqhb3qDTQEQrbPGaicBFG0aQhtTo/e nHf36S7aMJV80jiShP4f1YOgzHmddJoKmEGifwAECnxOf7qzDE= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 458 Lines: 15 > Did coccinelle trip on the message I suggest to reconsider this implementation detail with the combination of a function call like “kzalloc”. A script for the semantic patch language can point various update candidates out according to a source code search pattern which is similar to “OOM_MESSAGE” in the script “checkpatch.pl”. > or the fact you weren't returning NULL? How does this concern fit to my update suggestion? Regards, Markus