Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1976795rwe; Fri, 2 Sep 2022 06:53:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR7RuQ0V+SbpUyh4bcl2LFe6bHdXhXm60tiDoN6ZOkzmRkQegLjWmphYDxryKmGVvrNtzdJl X-Received: by 2002:a17:90a:640c:b0:1fe:1763:e169 with SMTP id g12-20020a17090a640c00b001fe1763e169mr4951214pjj.35.1662126810673; Fri, 02 Sep 2022 06:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662126810; cv=none; d=google.com; s=arc-20160816; b=CQi2SnX66vie0OWARFA9e68iVFpY3T0gWp8RBeFVLacNnC14ZKsleXqbSTCJL3Kc5Z YvH8dKQ1Oj5ZyeTbdnBbK2zpp2sv42ofFCvv14sTp5YCXyX1M6dN90f7ZW3hxLYKMwSi Ra2rpji6ynZmZmnDSw62lTzSJn7g4u2M3c+2BsYeZQdpDDuNX1JclskJHT4Eomjz4TLL CBWYPsmXl1ikF/Lu/zBVi5bSh0ckhjZcdDJL2/HHLblrl7wPEqDTXF6yffr82+rdj7uo WJhCkDX2SL9xfQmz0yRgeQx9sNMQTJu58jdvOVObO5GPPmV9nytoLFHtDAI/T6e/nzX8 42dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=auoBc6+o9PAuKa2BNCimyD/wpTPNZ6y0Fin6G1ftICs=; b=tpEcwuYnzpKCCOZ6lAQndhyAC4f3BIK2GnR6pD41FImu+SgBHou9KidZ0GBpt/sWMv zSJbY+6goWFGTwfykfLKNyn1Se8lBBe0KNEmCh4LdVvst6owVTo6hWdDz40e8ceVWM5O xhC4wuO1mZSfLSsYte/AiXtRWBwzFKjTG0owCSsxsQGZKNKEBCctu6ARZC1Ceb9W4JZg LUtZ0i91zGYcJE9fGIWefxcu9FypHjJtNL5cK3r5Lq5TYfYQwkOmO8L/+ENC9gk4WtC2 C4Vk95wEZetIltbgsFtetvu+qS2nJsZqtyFc0Mf95hImgc84rggpl2aY6uz/tKYcZUBT 1mHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wCCVqAdB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a170902700400b00174903c4bf9si2126539plk.72.2022.09.02.06.53.19; Fri, 02 Sep 2022 06:53:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wCCVqAdB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235781AbiIBMWm (ORCPT + 99 others); Fri, 2 Sep 2022 08:22:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235826AbiIBMVP (ORCPT ); Fri, 2 Sep 2022 08:21:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FF10A9265; Fri, 2 Sep 2022 05:21:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C2185620E6; Fri, 2 Sep 2022 12:21:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7F5DC433C1; Fri, 2 Sep 2022 12:21:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662121273; bh=EjhUaWhI2U+NFj+HyzZDRmEuXJdOa2MKK3y3jt7QK4M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wCCVqAdBKwmPnvAsvIiImcg/Vs5f9yWFr2/i1TcqNa9rFY8Q2Fxf188yFjZ6YvZgZ cpU7Dt38cfj0mI8J8IAhenEnr888pKw1+R0qs/nrl9vaqGGaEzWenTYJM0Lg2fUiKr mnCGGAu0pi81skmRqXPYS6npJUNkKTketOftNtsY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Juergen Gross , Heiko Carstens , Christian Borntraeger , Alexander Gordeev , Sasha Levin Subject: [PATCH 4.9 28/31] s390/hypfs: avoid error message under KVM Date: Fri, 2 Sep 2022 14:18:54 +0200 Message-Id: <20220902121357.770385533@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220902121356.732130937@linuxfoundation.org> References: <20220902121356.732130937@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Juergen Gross [ Upstream commit 7b6670b03641ac308aaa6fa2e6f964ac993b5ea3 ] When booting under KVM the following error messages are issued: hypfs.7f5705: The hardware system does not support hypfs hypfs.7a79f0: Initialization of hypfs failed with rc=-61 Demote the severity of first message from "error" to "info" and issue the second message only in other error cases. Signed-off-by: Juergen Gross Acked-by: Heiko Carstens Acked-by: Christian Borntraeger Link: https://lore.kernel.org/r/20220620094534.18967-1-jgross@suse.com [arch/s390/hypfs/hypfs_diag.c changed description] Signed-off-by: Alexander Gordeev Signed-off-by: Sasha Levin --- arch/s390/hypfs/hypfs_diag.c | 2 +- arch/s390/hypfs/inode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/hypfs/hypfs_diag.c b/arch/s390/hypfs/hypfs_diag.c index 794bebb43d23d..64448c0998eb5 100644 --- a/arch/s390/hypfs/hypfs_diag.c +++ b/arch/s390/hypfs/hypfs_diag.c @@ -436,7 +436,7 @@ __init int hypfs_diag_init(void) int rc; if (diag204_probe()) { - pr_err("The hardware system does not support hypfs\n"); + pr_info("The hardware system does not support hypfs\n"); return -ENODATA; } if (diag204_info_type == DIAG204_INFO_EXT) { diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 224aeda1e8ccf..d73d2d001a620 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c @@ -493,9 +493,9 @@ static int __init hypfs_init(void) hypfs_vm_exit(); fail_hypfs_diag_exit: hypfs_diag_exit(); + pr_err("Initialization of hypfs failed with rc=%i\n", rc); fail_dbfs_exit: hypfs_dbfs_exit(); - pr_err("Initialization of hypfs failed with rc=%i\n", rc); return rc; } -- 2.35.1