From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751036AbdCNJlI (ORCPT ); Tue, 14 Mar 2017 05:41:08 -0400 Received: from imap0.codethink.co.uk ([185.43.218.159]:56589 "EHLO imap0.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbdCNJlG (ORCPT ); Tue, 14 Mar 2017 05:41:06 -0400 Subject: Re: [PATCH] clocksource: add missing line break to error messages To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Daniel Lezcano , Thomas Gleixner , linux-kernel@vger.kernel.org References: <20170309094710.31003-1-zajec5@gmail.com> Cc: Mark Rutland , Baruch Siach , Eric Anholt , Thierry Reding , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Alexandre Courbot , Florian Fainelli , Kevin Hilman , Lee Jones , Chen-Yu Tsai , bcm-kernel-feedback-list@broadcom.com, linux-snps-arc@lists.infradead.org, Stephen Warren , Marc Zyngier , Ray Jui , linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Barry Song , Scott Branden , Vineet Gupta , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Carlo Caione , Maxime Ripard From: Ben Dooks Organization: Codethink Limited. Message-ID: <959bfbfb-177f-3e92-0a2c-1e283966b961@codethink.co.uk> Date: Tue, 14 Mar 2017 09:40:07 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170309094710.31003-1-zajec5@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/03/17 09:47, Rafał Miłecki wrote: > From: Rafał Miłecki > > Printing with pr_* functions requires adding line break manually. > > Signed-off-by: Rafał Miłecki 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