Re: [PATCH] clocksource: add missing line break to error messages

From: Ben Dooks
Date: Tue Mar 14 2017 - 05:41:47 EST


On 09/03/17 09:47, RafaÅ MiÅecki wrote:
From: RafaÅ MiÅecki <rafal@xxxxxxxxxx>

Printing with pr_* functions requires adding line break manually.

Signed-off-by: RafaÅ MiÅecki <rafal@xxxxxxxxxx>

I've had a quick look over and there are no obvious errors.

I wonder if the of_iomap() and related calls should print an
error if they fail as all the examples here are of the form
of:

ptr = of_iomap(reource)
if (!ptr) {
pr_err("cannot remap resource\n");
...
return ERR;
}

Maybe we should look into this post this patch series.

--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius