Re: [PATCH] i2c: drivers: Remove superfluous error messages

From: Markus Elfring
Date: Mon May 04 2020 - 08:30:56 EST


> 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