Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1235830pxa; Thu, 20 Aug 2020 06:23:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiB8+5CEYoymbMWLOXAWNfIjr2f/kB5xdBKuLfchxfN9WnH5d4mTNL1YuPDlfUFuXyeaIf X-Received: by 2002:a17:906:858:: with SMTP id f24mr3148543ejd.543.1597929825902; Thu, 20 Aug 2020 06:23:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597929825; cv=none; d=google.com; s=arc-20160816; b=EDiGoCwNOKOFOac4kKoGPnAEVHPDg1/vgtgod7XLCtdXSWN7/Tv33n3PGvP4+b1+cd EDQXDNDKkQcwrInfSl5bKpcFMkP2VLQRXH8JCoyF2Gfi0D5ZT4tsg0017KWdPvc0ALV5 B+q67kdA530+INC+SabaKR8bPkyhS4RXL2Qb7EQ5IjoDObuT/PmuOPq/HTf/qHakkQU5 tfdSxRt8PpMCLEOYAUqmZ05lBVKGUfKwYLsMcu9OI/wdRuqo8JjFhJ4ofEMl8VoB/dpv Q+bEvwHDVkz7Fz9cuXW4zZVwnA/9UPOmY2Ni10+5JijALm/X9acEVL6iRjoHVJV3W92l Afhg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=eOzBItALzU67xu5OJOxv2TW0Ncuc2ZJ37Lju38adz4M=; b=KTsHFcskt3v9nXbGQ/ENC8jV/RO2rVw2VIIU4NaXtT+/TVTY1UaxaZwP9aJ4yg/M3f O1T3KeES+9TKksinUMwl80XL3IU/ipv6OGzQ4uvaM2lOu7dNk9d0HgCkD3I9om/6Dofr 0impSo0BdrY6tykZXtjPAS7k2K2Uy7G9NaNEHyx/H5TP195t3CGXHK7RWdQSzjjGmaae 4P9v7xEw98YAreg8CxqKOkqq+5kN0C66FuMROxCAvamOwpAVmRDAwekrVtEyENWJqms9 dFhQI5hxqmxfWGsvZ/9nhYCIuMpLNHpOKqNTmsN4WW735acShj9BrzB7+8hvMk2SoWLQ d0sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jJEiDToE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g22si1146773edp.305.2020.08.20.06.23.21; Thu, 20 Aug 2020 06:23:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jJEiDToE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730443AbgHTNUh (ORCPT + 99 others); Thu, 20 Aug 2020 09:20:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:46886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728141AbgHTJet (ORCPT ); Thu, 20 Aug 2020 05:34:49 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 229DF207DE; Thu, 20 Aug 2020 09:34:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597916089; bh=8eyZqrQdSc8PNwaGCnhdZg1jsbuGpXLV1x4V+wSRQOE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jJEiDToEA+iT/p5yjdUlNZc/MG2KtDnqk03vGJzjQPS8t4S4sD2s9lhJpdqT1A+Fi Df12TOs30LI2rYZwyUMmoRRz/hILxn8lTEbuaGycJphoEYd71hsQZikAeLjvqomd0v ly9dmPw2MwDanduQCp1pd/cOkXLC1qsQHTVDUfpM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Rich Felker , Sasha Levin Subject: [PATCH 5.8 219/232] sh: fault: Fix duplicate printing of "PC:" Date: Thu, 20 Aug 2020 11:21:10 +0200 Message-Id: <20200820091623.398844230@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200820091612.692383444@linuxfoundation.org> References: <20200820091612.692383444@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven [ Upstream commit 845d9156febcd6b3b20c0c2c8d73b461b48e844c ] Somewhere along the patch handling path, both the old "printk(KERN_ALERT ....)" and the new "pr_alert(...)" were retained, leading to the duplicate printing of "PC:". Drop the old one. Fixes: eaabf98b0932a540 ("sh: fault: modernize printing of kernel messages") Signed-off-by: Geert Uytterhoeven Signed-off-by: Rich Felker Signed-off-by: Sasha Levin --- arch/sh/mm/fault.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c index fbe1f2fe9a8c8..acd1c75994983 100644 --- a/arch/sh/mm/fault.c +++ b/arch/sh/mm/fault.c @@ -208,7 +208,6 @@ show_fault_oops(struct pt_regs *regs, unsigned long address) if (!oops_may_print()) return; - printk(KERN_ALERT "PC:"); pr_alert("BUG: unable to handle kernel %s at %08lx\n", address < PAGE_SIZE ? "NULL pointer dereference" : "paging request", -- 2.25.1