Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp316217imm; Wed, 18 Jul 2018 02:39:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc9gITjlTOfKJ78JiB3EpZ5J7p9biuEpxUs8S9S1gSoXlo3vr+gOthG71ySxMNzO/pEbKBj X-Received: by 2002:a17:902:7581:: with SMTP id j1-v6mr5246032pll.218.1531906742137; Wed, 18 Jul 2018 02:39:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531906742; cv=none; d=google.com; s=arc-20160816; b=WArL2n96iRKxD1BWyII/TD++wrhz4m8Ljw0FIwoeB7Ayy0T9S+eyd8k6lTimLUDKRJ d3Gd+CfomhtFfp0IYMZZ9iQuv/Xg5GPLkmis/MmLt5mmQdNNaDQ0+wyYD1kRFyvGPJAM KqV5QMQdTX1KSToCiBKVX/JqI4lzVkx/Oq2vnmIIzdWnrQAA9iXcWVRZwYjaze/rqbRb 9AkJJCJAXaOj/hwHxXjmPsZeTX3keOlIP6lqzLamHGEfOZRVJrtt05hHkzXaFcHDFwlV 5tcXhO4PIslPU3+a8CMQFNWN9jGQUseM0CIzqoZa7Sq5iaNVz4+VR3O/dk65sJcJj9T6 ra8w== 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=zUAFuftrLdrCryUt6s7AspuuY3pf/5T98NLk4VGYZ9k=; b=MKBigWBY876xJNtKqRvX97LXGjZI3H3VqwKE8Car2eE7w9turm8VJrf7Toeq3n0XHi qTvbtQ7XZYIDrYi42rqfcqlEq9OYriz9zPE13LOIEDh0eGowPitIiwY0Ee/w6m8HPy+T oYy1U+YYN5BqhoTB4TneXE/YwPRDHbWLCp671CvlEnFl1o092nojnQZXRrJuv5hj0PDu mMdBbpjVNTyR9JWwYEufTkUvxnw6/BaU0Tdmx8JT+JvJIaLj2HDVTgj9wPZmz+gPCpjo Cwd6UOO+SATMueNM+8KK7NQPZC9GnowVbZGO7yqTxIKT59rsrlEr6vBIU6AhhxmGAwV1 atuA== 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 h69-v6si2774923pfc.206.2018.07.18.02.38.46; Wed, 18 Jul 2018 02:39:02 -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 S1731023AbeGRKOq (ORCPT + 99 others); Wed, 18 Jul 2018 06:14:46 -0400 Received: from ozlabs.org ([203.11.71.1]:43253 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730304AbeGRKOq (ORCPT ); Wed, 18 Jul 2018 06:14:46 -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 41VsWV4hd2z9s0w; Wed, 18 Jul 2018 19:37:42 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Murilo Opsfelder Araujo , linux-kernel@vger.kernel.org Cc: Murilo Opsfelder Araujo , Benjamin Herrenschmidt , Paul Mackerras , Mathieu Malaterre , Michael Bringmann , Nathan Fontenot , Kees Cook , Bharata B Rao , Alexey Kardashevskiy , =?utf-8?Q?C=C3=A9dric?= Le Goater , "Aneesh Kumar K . V" , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc/prom_init: remove linux,stdout-package property In-Reply-To: <20180712171904.18971-1-muriloo@linux.ibm.com> References: <20180712171904.18971-1-muriloo@linux.ibm.com> Date: Wed, 18 Jul 2018 19:37:37 +1000 Message-ID: <87a7qoq3z2.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 Hi Murilo, Thanks for the patch. Murilo Opsfelder Araujo writes: > This property was added in 2004 by > > https://github.com/mpe/linux-fullhistory/commit/689fe5072fe9a0dec914bfa4fa60aed1e54563e6 > > and the only use of it, which was already inside `#if 0`, was removed a month > later by > > https://github.com/mpe/linux-fullhistory/commit/1fbe5a6d90f6cd4ea610737ef488719d1a875de7 > > Fixes: https://github.com/linuxppc/linux/issues/125 That is going to confuse some scripts that are expecting that to be a "Fixes: " tag :) The proper tag to use there would be "Link:". But, I'd prefer we didn't add github issue links to the history, as I'm not sure they won't bit-rot eventually. Not because I'm a anti-Microsoft conspiracy person but just because it's a repo I set up and manage and there's no long term plan for it necessarily. > --- > arch/powerpc/kernel/prom_init.c | 2 -- > 1 file changed, 2 deletions(-) Including the link here would be ideal, as it means it doesn't end up in the commit history, but it does end up in the mail archive. So if we ever really need to find it, it should be there. cheers > diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c > index 5425dd3d6a9f..c45fb463c9e5 100644 > --- a/arch/powerpc/kernel/prom_init.c > +++ b/arch/powerpc/kernel/prom_init.c > @@ -2102,8 +2102,6 @@ static void __init prom_init_stdout(void) > stdout_node = call_prom("instance-to-package", 1, 1, prom.stdout); > if (stdout_node != PROM_ERROR) { > val = cpu_to_be32(stdout_node); > - prom_setprop(prom.chosen, "/chosen", "linux,stdout-package", > - &val, sizeof(val)); > > /* If it's a display, note it */ > memset(type, 0, sizeof(type)); > -- > 2.17.1