From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Tue, 19 Dec 2017 18:12:13 +0100 Subject: pwm: atmel-tcb: Delete an error message for a failed memory allocation in atmel_tcb_pwm_probe() In-Reply-To: <6d607786-4c1b-0949-0768-1bc0a4749fd5@microchip.com> References: <8274c498-1d1b-2ece-365c-98ded714a53c@users.sourceforge.net> <6d607786-4c1b-0949-0768-1bc0a4749fd5@microchip.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org >> Omit an extra message for a memory allocation failure in this function. >> >> This issue was detected by using the Coccinelle software. > > Can you point which coccinelle script highlited this issue? Not directly (so far). I constructed an approach for the semantic patch language based on information from the script ?checkpatch.pl?. Would you like to improve it any ways? Regards, Markus