Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759730AbbBJA1U (ORCPT ); Mon, 9 Feb 2015 19:27:20 -0500 Received: from smtprelay0055.hostedemail.com ([216.40.44.55]:49568 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756140AbbBJA1S (ORCPT ); Mon, 9 Feb 2015 19:27:18 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1568:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3867:4321:5007:6119:6120:6261:6642:6742:7901:7903:10004:10400:10848:11026:11232:11658:11914:12043:12296:12438:12517:12519:12740:13069:13311:13357:21063:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: roof69_50ddbc539163 X-Filterd-Recvd-Size: 2083 Message-ID: <1423528033.2933.29.camel@perches.com> Subject: Re: [PATCH 1/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver From: Joe Perches To: Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Matt Mackall , Herbert Xu , Grant Likely , Ray Jui , Jonathan Richardson , Dmitry Torokhov , Anatol Pomazao , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Mon, 09 Feb 2015 16:27:13 -0800 In-Reply-To: <1423526830-29516-2-git-send-email-sbranden@broadcom.com> References: <1423526830-29516-1-git-send-email-sbranden@broadcom.com> <1423526830-29516-2-git-send-email-sbranden@broadcom.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.7-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 30 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/