Received: by 10.213.65.68 with SMTP id h4csp11758imn; Thu, 15 Mar 2018 08:07:10 -0700 (PDT) X-Google-Smtp-Source: AG47ELvKtrHByR7FVnZn6uUjPFtzcgLvge4kQyu/LlZZBSUd1NYPEH/hOWSQoPncqk1BTh+kuaf1 X-Received: by 2002:a17:902:1763:: with SMTP id i90-v6mr8277198pli.309.1521126430831; Thu, 15 Mar 2018 08:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521126430; cv=none; d=google.com; s=arc-20160816; b=dJI7DS++5n+fNYQZ3/gyaiw9fX+bBnAaju3W7iVCFzTG1inPSuxBtMLsAo2RLi6XbB vPSFsgMQHpe9Du0YiyfxuT2gjtwZCF+d7RT6HkZCkDBWHlGVClyZE1O89G7cUKl5CwXO ERfCt9MeuK3Bn2dVzcaS3dnFNWrUmJ8xB1AEHdNWPVcWt6Wnh1JUF06jIupoY3jtXkvr Pc7jfM7S5LTbiEIUyA06A6F9yYd/J/Cdhhfyfa8Cy1scwdhhtUEzbXDQsUF8AgNGjb5/ IaE9sTBQNK+hftSVTw0k43SXegMnbFmLBLTXKhN5ODyRLeIpIWtVSQH1BrHpDrbHpBNF Rxmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=PLiSktL59QZh8sh304cmjOkhkg0uP2miopIcfDGoX2g=; b=Mcb/ttSU+d0kAbNLduYIj15XLbNmsZyxlv8OVRDDHK/bTe14F1KVcpkQwaSKj3pU34 BxMZqp+hSasp9uFGg1xC43MZvfcTmLuWMxksQA7oSRdq1AAldJh57SWWActEG1leRAuG HQDSBWOUi6tLvby1kz6htKenDm0kyOw3AxQq8y5kztf8SSEFkYSOzNPO/Dguc3sv2LMa /hN+/kBhDX83e22LXaBm4QE6xCYn5Dpyg3fftuUluwWWo47uH1LEqQgpA3k7JhI0R2HE aHq9trgX0yIsqQVrm8U7n+4WrY7RXTqZOviPP0K/jCm8CexSfI0if0n0v3VY1Y/MWdbW MW+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u24si3923824pfd.282.2018.03.15.08.06.55; Thu, 15 Mar 2018 08:07:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932582AbeCOPDy (ORCPT + 99 others); Thu, 15 Mar 2018 11:03:54 -0400 Received: from smtprelay0009.hostedemail.com ([216.40.44.9]:59446 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752725AbeCOPDV (ORCPT ); Thu, 15 Mar 2018 11:03:21 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id C96EC182CF66E; Thu, 15 Mar 2018 15:03:20 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::,RULES_HIT:41:69:355:379:541:599:800:960:973:981:988:989:1042:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3868:3872:3873:3874:4321:5007:6742:7576:7903:9040:10004:10400:10848:10967:11026:11232:11658:11914:12043:12438:12740:12760:12895:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080:21451:21627:30012:30054:30070:30090:30091,0,RBL:47.151.150.235:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:21,LUA_SUMMARY:none X-HE-Tag: wren78_1cd6a2629cd26 X-Filterd-Recvd-Size: 2422 Received: from XPS-9350 (unknown [47.151.150.235]) (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Thu, 15 Mar 2018 15:03:18 +0000 (UTC) Message-ID: <1521126196.22221.10.camel@perches.com> Subject: Re: [PATCH] powerpc: Use common error handling code in setup_new_fdt() From: Joe Perches To: Dan Carpenter , Thiago Jung Bauermann Cc: SF Markus Elfring , linuxppc-dev@lists.ozlabs.org, Benjamin Herrenschmidt , Borislav Petkov , Brijesh Singh , Josh Sklar , Kees Cook , Michael Ellerman , Paul Mackerras , Thomas Gleixner , Tom Lendacky , LKML , kernel-janitors@vger.kernel.org Date: Thu, 15 Mar 2018 08:03:16 -0700 In-Reply-To: <20180315115753.rjejlkrp3fhdxbyk@mwanda> References: <0dd9d938-8d89-f0e0-f05f-9a3e5dc42a57@users.sourceforge.net> <87fu52jqtc.fsf@morokweng.localdomain> <20180315115753.rjejlkrp3fhdxbyk@mwanda> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-03-15 at 14:57 +0300, Dan Carpenter wrote: > On Wed, Mar 14, 2018 at 06:22:07PM -0300, Thiago Jung Bauermann wrote: > > > > SF Markus Elfring writes: > > > > > From: Markus Elfring > > > Date: Sun, 11 Mar 2018 09:03:42 +0100 > > > > > > Add a jump target so that a bit of exception handling can be better reused > > > at the end of this function. > > > > > > This issue was detected by using the Coccinelle software. > > > > > > Signed-off-by: Markus Elfring > > > --- > > > arch/powerpc/kernel/machine_kexec_file_64.c | 28 ++++++++++++---------------- > > > 1 file changed, 12 insertions(+), 16 deletions(-) > > > > I liked it. Thanks! > > > > Reviewed-by: Thiago Jung Bauermann > > > > You know that compilers already re-use string constants so this doesn't > actually save memory? And modern compilers create their own jump labels so this doesn't change object code either?