From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756225AbdKCRao (ORCPT ); Fri, 3 Nov 2017 13:30:44 -0400 Received: from smtprelay0048.hostedemail.com ([216.40.44.48]:37716 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754684AbdKCRam (ORCPT ); Fri, 3 Nov 2017 13:30:42 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1593:1594:1711:1714:1730:1747:1777:1792:2194:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3351:3622:3865:3867:4321:4605:5007:6742:7576:7974:9040:10004:10400:10562:10848:11026:11232:11473:11658:11914:12043:12296:12438:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:21080:21325:21451:21627:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: van73_22c2dd350184e X-Filterd-Recvd-Size: 2339 Message-ID: <1509730237.15520.36.camel@perches.com> Subject: Re: [PATCH v8 2/5] irqchip/irq-goldfish-pic: Add Goldfish PIC driver From: Joe Perches To: Aleksandar Markovic , linux-mips@linux-mips.org Cc: Miodrag Dinic , Goran Ferenc , Aleksandar Markovic , "David S. Miller" , Douglas Leung , Greg Kroah-Hartman , James Hogan , Jason Cooper , linux-kernel@vger.kernel.org, Marc Zyngier , Mauro Carvalho Chehab , Miodrag Dinic , Paul Burton , Petar Jovanovic , Raghu Gandham , Randy Dunlap , Thomas Gleixner Date: Fri, 03 Nov 2017 10:30:37 -0700 In-Reply-To: <1509729730-26621-3-git-send-email-aleksandar.markovic@rt-rk.com> References: <1509729730-26621-1-git-send-email-aleksandar.markovic@rt-rk.com> <1509729730-26621-3-git-send-email-aleksandar.markovic@rt-rk.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.26.1-1 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 On Fri, 2017-11-03 at 18:21 +0100, Aleksandar Markovic wrote: > From: Miodrag Dinic [] > diff --git a/drivers/irqchip/irq-goldfish-pic.c b/drivers/irqchip/irq-goldfish-pic.c [] > +static int __init goldfish_pic_of_init(struct device_node *of_node, > + struct device_node *parent) > +{ [] > + parent_irq = irq_of_parse_and_map(of_node, 0); > + if (!parent_irq) { > + pr_err("Failed to map parent IRQ!"); All the pr_ uses should end with a newline pr_err("Failed to map parent IRQ\n"); etc... > + gc = irq_alloc_generic_chip("GFPIC", 1, GFPIC_IRQ_BASE, gfpic->base, > + handle_level_irq); > + if (!gc) { > + pr_err("Failed to allocate chip structures!"); > + ret = -ENOMEM; > + goto out_unmap_irq; > + }