From: Markus Elfring Date: Mon, 04 May 2020 12:30:22 +0000 Subject: Re: [PATCH] i2c: drivers: Remove superfluous error messages Message-Id: <52dbb335-d3ea-3f14-8228-5832cfa59728@web.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Aishwarya Ramakrishnan , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: LKML , kernel-janitors@vger.kernel.org, Andy Shevchenko , Baruch Siach , Dejin Zheng , Dmitry Osipenko , Greg Kroah-Hartman , Gregory Clement , Hans de Goede , Masahiro Yamada , Pierre-Yves Mordret , Thomas Gleixner , Thor Thayer , Vladimir Zapolskiy > The function platform_get_irq can log an error by itself. > This omit a redundant message for exception handling in the > calling function. I propose to avoid a typo in a word of this change description. > Suggested by Coccinelle. Can an information like the following be more helpful? Generated by: scripts/coccinelle/api/platform_get_irq.cocci I observe that a command like “make COCCI=… M=drivers/i2c/busses/ coccicheck” points only three source files out for further considerations according to such a known transformation pattern in the software “Linux next-20200504”. Regards, Markus