Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1945291imm; Thu, 12 Jul 2018 10:21:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdYdgzY3De96v3W5eVzmizsI1s0mrJ5dE3de+BpOBwjJFg/DKtJnxWzHPk9Qm2/LTpGplGy X-Received: by 2002:a63:c312:: with SMTP id c18-v6mr2864806pgd.449.1531416081986; Thu, 12 Jul 2018 10:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531416081; cv=none; d=google.com; s=arc-20160816; b=oEN6iL9MwFDC3m/NXQLlyc+HX4nz4GQE0OcwchIPtAXj32joOAcXcY19s7oMLF/9Sc V3FdXwZFBQTtnsbZ1Lpe8LVIkGXF0UMoRbMG2T4+iw3VVfLurnIP/8iECfzfgrczT7G/ he7pgWqdQQWn7GoOey8ZVyA+c9cW9wsl3a+CHZRG0J6ThYQCPyhiDwqfnFQAOvDMQDcK ztgrbD/JS1Q4YCHCupIhTroS1DZg0UpLDcGDSOy4iD+HILwCAu85/DZEY3+Y/DS04+JF tycqW1ocqet52cX1pg/ysyDsbHPkgfYFBO1jZSoMwOM72gM6hwVt2IIZwnIyV1cZ6Zgq 01xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:date:subject:cc:to:from:arc-authentication-results; bh=jJFgkcifGgU76pegoirWP5lp0J6Ub087rMU/8aF6uo8=; b=weknNWRN2JhaBA0QHKaBkzsKVL3rBRxSb016SxyTWgYMy1fNY4lU+oXxcJXBMJ0N2g k6bWut1e2Ul/0fge7tTmf6k41hwKqh1WM2S1/BhNhNBtZi4EA4+V7/Mr7DMF1/EU4gP2 Ae/wd0DIdTWon13yY/mRTXSwYZl7hR8bmfIOvfp1ZIxYykr+ySs/ZdrL8RXWY7DqKM// pQXxiuSMv/9PmylfX42KVeF9QWAxzZYwTASxVuBf3VWThHvzF61++IQvvlRlaChxzVfS X1zV69ly4jqNCB4a0+kokri3aLkVgNfYEbzTuYR+8F1ZSPgJmvBU8ejH+RqeTiJL+Uk4 NE7w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2-v6si21952885plh.339.2018.07.12.10.21.07; Thu, 12 Jul 2018 10:21: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732601AbeGLRa6 (ORCPT + 99 others); Thu, 12 Jul 2018 13:30:58 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:48882 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727455AbeGLRa6 (ORCPT ); Thu, 12 Jul 2018 13:30:58 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6CHEd4H129371 for ; Thu, 12 Jul 2018 13:20:28 -0400 Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx0a-001b2d01.pphosted.com with ESMTP id 2k693yp232-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 12 Jul 2018 13:20:28 -0400 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 12 Jul 2018 11:20:27 -0600 Received: from b03cxnp08026.gho.boulder.ibm.com (9.17.130.18) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 12 Jul 2018 11:20:23 -0600 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6CHKMVG3080658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 12 Jul 2018 10:20:22 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EF5D578069; Thu, 12 Jul 2018 11:20:21 -0600 (MDT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3984878060; Thu, 12 Jul 2018 11:20:19 -0600 (MDT) Received: from kermit-br-ibm-com.br.ibm.com (unknown [9.18.235.193]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 12 Jul 2018 11:20:18 -0600 (MDT) From: Murilo Opsfelder Araujo To: linux-kernel@vger.kernel.org Cc: Murilo Opsfelder Araujo , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Mathieu Malaterre , Michael Bringmann , Nathan Fontenot , Kees Cook , Bharata B Rao , Alexey Kardashevskiy , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , "Aneesh Kumar K . V" , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Subject: [PATCH] powerpc/prom_init: remove linux,stdout-package property Date: Thu, 12 Jul 2018 14:19:04 -0300 X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18071217-8235-0000-0000-00000DD195A6 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009358; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01060352; UDB=6.00544279; IPR=6.00838271; MB=3.00022118; MTD=3.00000008; XFM=3.00000015; UTC=2018-07-12 17:20:26 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18071217-8236-0000-0000-000041DB8556 Message-Id: <20180712171904.18971-1-muriloo@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-12_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807120182 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Murilo Opsfelder Araujo --- arch/powerpc/kernel/prom_init.c | 2 -- 1 file changed, 2 deletions(-) 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