Received: by 10.213.65.68 with SMTP id h4csp296877imn; Fri, 16 Mar 2018 03:31:21 -0700 (PDT) X-Google-Smtp-Source: AG47ELvLaGc4A6YRoZIF0JjH0CQXmBd1C2r9i+rbWdWUowgrB6nvCiaw/Pef6jALl8NACwskIr/g X-Received: by 2002:a17:902:6909:: with SMTP id j9-v6mr1523351plk.5.1521196281055; Fri, 16 Mar 2018 03:31:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521196281; cv=none; d=google.com; s=arc-20160816; b=hyyj/9Kj+iGLP/eu9uFjPO3F7dOzt7hEo5wXJb0+OEkmNzroVoxJU5lwYUQ78Fz1fE Vy9lm1em/6t79fijYUAm0VN0VzeOJM2gbTTJHpavimTTzvA1yjAFjFqZyUjiERMNbjY+ sz+4fWV73X3knaclKqqbwuyMjH4jAQx/bHdMlvmNgyiQYO0SAMjG+yekp6XsluX7ppWh Jn3MeW4nKKxjQM83gaq+EhX2/AzQyQeSwrw41eZRcDQbxR7lXVc69b1JSvZVXdu3sl+i Jztj4jGXN0fjdsfdbasFTy0mGkc53SCosNPBsEQpHVUSZ/kp0mPtkNEc90H/ZTK61+Tg satQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=2KjSX6/l1Sf3ceocs4A++KJcG4TlPl5leTwvDF6HI6s=; b=FP/OFx79t57MrF6l+LVfjs50NVjrtjnoFvDh3rfR3LLrV+6cp/7cOlCScMnPzd4xc+ SxvIztdnenaKb0DbaKYjCTJAhjLkKE9qXj2hjcO9/sLYh0v8PZd21qx5aW+mlKCjmRLh +LUA+ib5tGPOA/SZxpPSBu8qHyj4cj0UiKFpqjHcY+LOnhyjDRk3x1QUYXtVFlnqvZ7d n+tknN6BC6EIoE4nIDEBLIj4UTUaTv7Gsjq9L55BUXtEdy/noyG7EVb73AaXjwzPfAlF +U5FodV6ueEQaCEPqhvglhuYICV2ZLt2AxnrwEdGIJa1oWErLsDmIvgADYXgGb+HvyzQ GdrQ== 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 s4si5279328pfg.410.2018.03.16.03.31.06; Fri, 16 Mar 2018 03:31:21 -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 S1753376AbeCPK36 (ORCPT + 99 others); Fri, 16 Mar 2018 06:29:58 -0400 Received: from ozlabs.org ([103.22.144.67]:50153 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753318AbeCPK35 (ORCPT ); Fri, 16 Mar 2018 06:29:57 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 402hXz1bncz9s8y; Fri, 16 Mar 2018 21:29:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Joe Perches , Dan Carpenter , Thiago Jung Bauermann Cc: SF Markus Elfring , linuxppc-dev@lists.ozlabs.org, Benjamin Herrenschmidt , Borislav Petkov , Brijesh Singh , Josh Sklar , Kees Cook , "Paul Mackerras" , Thomas Gleixner , "Tom Lendacky" , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH] powerpc: Use common error handling code in setup_new_fdt() In-Reply-To: <1521126196.22221.10.camel@perches.com> References: <0dd9d938-8d89-f0e0-f05f-9a3e5dc42a57@users.sourceforge.net> <87fu52jqtc.fsf@morokweng.localdomain> <20180315115753.rjejlkrp3fhdxbyk@mwanda> <1521126196.22221.10.camel@perches.com> Date: Fri, 16 Mar 2018 21:29:53 +1100 Message-ID: <878tasfh3y.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Joe Perches writes: > 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? I must have missed the memo about us only changing source code if it results in better object code. cheers