Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754205AbbBNRCe (ORCPT ); Sat, 14 Feb 2015 12:02:34 -0500 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:60258 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753979AbbBNRCd (ORCPT ); Sat, 14 Feb 2015 12:02:33 -0500 X-IronPort-AV: E=Sophos;i="5.09,577,1418112000"; d="scan'208";a="57010457" Message-ID: <54DF7FA1.1090906@broadcom.com> Date: Sat, 14 Feb 2015 09:02:25 -0800 From: Scott Branden User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Joe Perches CC: , Rob Herring , Pawel Moll , Mark Rutland , "Ian Campbell" , Kumar Gala , Matt Mackall , Herbert Xu , Grant Likely , Ray Jui , Jonathan Richardson , Dmitry Torokhov , Anatol Pomazao , , , Subject: Re: [PATCH 1/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver References: <1423526830-29516-1-git-send-email-sbranden@broadcom.com> <1423526830-29516-2-git-send-email-sbranden@broadcom.com> <1423528033.2933.29.camel@perches.com> <54DF797B.40407@broadcom.com> In-Reply-To: <54DF797B.40407@broadcom.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1272 Lines: 48 I didn't read this properly. Will add \n in the dev_err messages. Thanks, Scott On 15-02-14 08:36 AM, Scott Branden wrote: > Hi Joe, > > I really don't see the missing terminating newlines in the patch or > source code. The lines look the same as every other line??? > > Regards, > Scott > > On 15-02-09 04:27 PM, Joe Perches wrote: >> On Mon, 2015-02-09 at 16:07 -0800, Scott Branden wrote: >>> This adds a driver for random number generator present on Broadcom >>> IPROC devices. >> >> trivia: >> >>> diff --git a/drivers/char/hw_random/iproc-rng200.c >>> b/drivers/char/hw_random/iproc-rng200.c >> [] >>> +static int iproc_rng200_probe(struct platform_device *pdev) >>> +{ >> [] >>> + if (!res) { >>> + dev_err(dev, "failed to get rng resources"); >> >> Missing terminating newline: >> >> dev_err(dev, "failed to get rng resources\n"); >> >>> + rng_base = devm_ioremap_resource(dev, res); >>> + if (!rng_base) { >>> + dev_err(dev, "failed to remap rng regs"); >> >> here too. >> >> > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/